mirror of
https://github.com/OpenMW/openmw.git
synced 2025-06-03 13:11:35 +00:00
Fix bug in LuaManager::reloadAllScripts
This commit is contained in:
parent
6f55089ed7
commit
b583aad14a
1 changed files with 1 additions and 0 deletions
|
@ -438,6 +438,7 @@ namespace MWLua
|
|||
mGlobalScripts.setSavedDataDeserializer(mGlobalSerializer.get());
|
||||
ESM::LuaScripts data;
|
||||
mGlobalScripts.save(data);
|
||||
mGlobalStorage.clearTemporaryAndRemoveCallbacks();
|
||||
mGlobalScripts.load(data);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue