This commit is contained in:
Uleat 2017-03-18 16:12:04 -04:00
commit 803da509ce
2 changed files with 3 additions and 1 deletions

View File

@ -2421,7 +2421,6 @@ void EntityList::Clear()
entity_list.RemoveAllDoors();
entity_list.RemoveAllObjects();
entity_list.RemoveAllRaids();
entity_list.RemoveAllEncounters();
entity_list.RemoveAllLocalities();
}

View File

@ -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);