[Bug Fix] Fix an issue where EVENT_TIMER timers would not be cleaned up after zone (#3018)

* [Bug Fix] Dangling client timers fixed.

* Remove all timers from mob in destructor instead of in QuestMgr::Process
This commit is contained in:
Paul Coene
2023-03-03 12:54:14 -05:00
committed by GitHub
parent a97a9a0d1c
commit 748602b04e
2 changed files with 4 additions and 2 deletions
+3 -1
View File
@@ -518,7 +518,9 @@ Mob::Mob(
}
Mob::~Mob()
{
{
quest_manager.stopalltimers(this);
mMovementManager->RemoveMob(this);
AI_Stop();