Fix repop crash

This commit is contained in:
neckkola
2022-02-27 15:25:15 -04:00
parent d67fa473a2
commit 9836c80a9d
4 changed files with 6 additions and 4 deletions
+1
View File
@@ -1738,6 +1738,7 @@ bool Zone::Depop(bool StartSpawnTimer) {
itr = npctable.begin();
delete itr->second;
itr->second = nullptr;
npctable.erase(itr);
}