mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-25 16:43:33 +00:00
Load Lua storage before menu scripts might use it
This commit is contained in:
parent
1afc7ecd58
commit
1092d2058d
@ -893,8 +893,8 @@ void OMW::Engine::prepareEngine()
|
||||
<< 100 * static_cast<double>(result.second) / result.first << "%)";
|
||||
}
|
||||
|
||||
mLuaManager->init();
|
||||
mLuaManager->loadPermanentStorage(mCfgMgr.getUserConfigPath());
|
||||
mLuaManager->init();
|
||||
|
||||
// starts a separate lua thread if "lua num threads" > 0
|
||||
mLuaWorker = std::make_unique<MWLua::Worker>(*mLuaManager, *mViewer);
|
||||
|
Loading…
x
Reference in New Issue
Block a user