From 19cd63878cc004c9c0b403a87cea57827c014c14 Mon Sep 17 00:00:00 2001 From: Emagi Date: Tue, 21 Jan 2025 08:03:17 -0500 Subject: [PATCH] Update LuaInterface.cpp --- source/WorldServer/LuaInterface.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/source/WorldServer/LuaInterface.cpp b/source/WorldServer/LuaInterface.cpp index 5e38418..4a7c35b 100644 --- a/source/WorldServer/LuaInterface.cpp +++ b/source/WorldServer/LuaInterface.cpp @@ -942,6 +942,7 @@ void LuaInterface::RemoveSpell(LuaSpell* spell, bool call_remove_function, bool spell->caster->GetZone()->GetSpellProcess()->RemoveSpellScriptTimerBySpell(spell, false); } spell->caster->RemoveProc(0, spell); + spell->caster->RemoveSpellEffect(spell); spell->caster->RemoveMaintainedSpell(spell); if(spell->spell && spell->spell->GetSpellData() && spell->caster->IsPlayer() && !removing_all_spells)