mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 01:11:29 +00:00
Take 2 at fixing encounters
This commit is contained in:
parent
bafb199d24
commit
f64e1644b1
@ -2421,7 +2421,6 @@ void EntityList::Clear()
|
||||
entity_list.RemoveAllDoors();
|
||||
entity_list.RemoveAllObjects();
|
||||
entity_list.RemoveAllRaids();
|
||||
entity_list.RemoveAllEncounters();
|
||||
entity_list.RemoveAllLocalities();
|
||||
}
|
||||
|
||||
|
||||
@ -800,6 +800,9 @@ void LuaParser::ReloadQuests() {
|
||||
encounter.second->Depop();
|
||||
}
|
||||
lua_encounters.clear();
|
||||
// so the Depop function above depends on the Process being called again so ...
|
||||
// And there is situations where it wouldn't be :P
|
||||
entity_list.EncounterProcess();
|
||||
|
||||
if(L) {
|
||||
lua_close(L);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user