mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-21 06:53:53 +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());
|
mGlobalScripts.setSavedDataDeserializer(mGlobalSerializer.get());
|
||||||
ESM::LuaScripts data;
|
ESM::LuaScripts data;
|
||||||
mGlobalScripts.save(data);
|
mGlobalScripts.save(data);
|
||||||
|
mGlobalStorage.clearTemporaryAndRemoveCallbacks();
|
||||||
mGlobalScripts.load(data);
|
mGlobalScripts.load(data);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue