mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 01:11:29 +00:00
[Hotfix] Fix ClearSpawnTimers() (#4073)
# Notes - This wasn't a part of my other pull request. - We were clearing `spawn2_list` before using it in `ClearSpawnTimers()`.
This commit is contained in:
parent
e060d97798
commit
43c7523ee1
@ -1898,6 +1898,10 @@ void Zone::Repop(bool is_forced)
|
||||
return;
|
||||
}
|
||||
|
||||
if (is_forced) {
|
||||
ClearSpawnTimers();
|
||||
}
|
||||
|
||||
LinkedListIterator<Spawn2 *> iterator(spawn2_list);
|
||||
|
||||
iterator.Reset();
|
||||
@ -1905,10 +1909,6 @@ void Zone::Repop(bool is_forced)
|
||||
iterator.RemoveCurrent();
|
||||
}
|
||||
|
||||
if (is_forced) {
|
||||
ClearSpawnTimers();
|
||||
}
|
||||
|
||||
npc_scale_manager->LoadScaleData();
|
||||
|
||||
entity_list.ClearTrapPointers();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user