mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-11 07:38:36 +00:00
Fix repop crash
This commit is contained in:
@@ -1738,6 +1738,7 @@ bool Zone::Depop(bool StartSpawnTimer) {
|
||||
itr = npctable.begin();
|
||||
delete itr->second;
|
||||
itr->second = nullptr;
|
||||
|
||||
npctable.erase(itr);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user