Merge branch 'fix_reloadlua' into 'master'

Fix bug in LuaManager::reloadAllScripts

See merge request OpenMW/openmw!3239
revert-6246b479
uramer 1 year ago
commit bb8ac466d1

@ -438,6 +438,7 @@ namespace MWLua
mGlobalScripts.setSavedDataDeserializer(mGlobalSerializer.get());
ESM::LuaScripts data;
mGlobalScripts.save(data);
mGlobalStorage.clearTemporaryAndRemoveCallbacks();
mGlobalScripts.load(data);
}

Loading…
Cancel
Save