mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 00:48:56 +01:00
*Try to fix a crash bug.
--HG-- branch : trunk
This commit is contained in:
@@ -285,6 +285,7 @@ ObjectGridUnloader::Visit(CreatureMapType &m)
|
||||
if(!sWorld.getConfig(CONFIG_SAVE_RESPAWN_TIME_IMMEDIATELY))
|
||||
obj->SaveRespawnTime();
|
||||
///- object will get delinked from the manager when deleted
|
||||
obj->CleanupsBeforeDelete();
|
||||
delete obj;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user