1
0

Fix spells ticking after cancellation/expiring

This commit is contained in:
Emagi 2024-11-22 14:38:00 -05:00
parent 1f9010dc62
commit 79c3ec1fb2

View File

@ -887,6 +887,9 @@ void LuaInterface::RemoveSpell(LuaSpell* spell, bool call_remove_function, bool
}
}
spell->char_id_targets.clear(); // TODO: reach out to those clients in different
spell->timer.Disable();
spell->MSpellTargets.releasereadlock(__FUNCTION__, __LINE__);
if(removing_all_spells) {