1
0

Update LuaInterface.cpp

This commit is contained in:
Emagi 2024-09-07 15:54:32 -04:00
parent 2ea8088f1e
commit f6097f490c

View File

@ -2306,7 +2306,7 @@ LuaSpell* LuaInterface::GetSpellScript(const char* name, bool create_new, bool u
if (use)
{
lua_State* state = spell_script_itr->first;
ret = CreateSpellScript(name, state, true);
ret = CreateSpellScript(name, state);
break; // don't keep iterating, we already have our result
}
}