From f6097f490c0f50920f5f462a0d76f7c5848d744b Mon Sep 17 00:00:00 2001 From: Emagi Date: Sat, 7 Sep 2024 15:54:32 -0400 Subject: [PATCH] Update LuaInterface.cpp --- source/WorldServer/LuaInterface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/WorldServer/LuaInterface.cpp b/source/WorldServer/LuaInterface.cpp index 0733576..ce6c7c8 100644 --- a/source/WorldServer/LuaInterface.cpp +++ b/source/WorldServer/LuaInterface.cpp @@ -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 } }