diff --git a/apps/openmw/engine.cpp b/apps/openmw/engine.cpp index 92483bd8c3..3200a0b6ee 100644 --- a/apps/openmw/engine.cpp +++ b/apps/openmw/engine.cpp @@ -893,8 +893,8 @@ void OMW::Engine::prepareEngine() << 100 * static_cast(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(*mLuaManager, *mViewer);