Fix bug in LuaManager::reloadAllScripts

revert-6246b479
Petr Mikheev 1 year ago
parent 6f55089ed7
commit b583aad14a

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

Loading…
Cancel
Save