Remove any spawn script timers tied to the spawn when spawn is removeed
This commit is contained in:
parent
0d474d8455
commit
2bd952fba7
1 changed files with 2 additions and 0 deletions
|
@ -6542,6 +6542,8 @@ void ZoneServer::RemoveSpawnSupportFunctions(Spawn* spawn, bool lock_spell_proce
|
|||
if(spawn->IsEntity())
|
||||
RemoveSpellTimersFromSpawn((Entity*)spawn, true, true, true, lock_spell_process);
|
||||
|
||||
StopSpawnScriptTimer(spawn, "");
|
||||
|
||||
RemoveDamagedSpawn(spawn);
|
||||
spawn->SendSpawnChanges(false);
|
||||
RemoveChangedSpawn(spawn);
|
||||
|
|
Loading…
Reference in a new issue