Take 2 at fixing encounters

This commit is contained in:
Michael Cook (mackal) committed 2017-03-18 14:11:30 -04:00
1 parent bafb199d24
commit f64e1644b1
2 files changed
+3 -1

No files matched your search

+3
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);