1
0

Update LuaInterface.cpp

This commit is contained in:
Emagi 2025-01-21 08:03:17 -05:00
parent bd9f1bd8ce
commit 19cd63878c

View File

@ -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)