1
0

make sure spells are cleaned up when zone is shutdown

This commit is contained in:
Emagi 2025-02-09 09:11:17 -05:00
parent a479520c33
commit 9bfa15d628

View File

@ -215,6 +215,9 @@ ZoneServer::~ZoneServer() {
Sleep(10);
}
if(spellProcess)
spellProcess->RemoveAllSpells(true);
MChangedSpawns.lock();
changed_spawns.clear();
MChangedSpawns.unlock();