Keep running scripts until the menu pauses the game

pull/3236/head
Evil Eye 6 months ago
parent 061f10bef7
commit 299ee1a6b1

@ -245,7 +245,7 @@ bool OMW::Engine::frame(unsigned frameNumber, float frametime)
if (mStateManager->getState() != MWBase::StateManager::State_NoGame) if (mStateManager->getState() != MWBase::StateManager::State_NoGame)
{ {
if (!mWindowManager->containsMode(MWGui::GM_MainMenu)) if (!mWindowManager->containsMode(MWGui::GM_MainMenu) || !paused)
{ {
if (mWorld->getScriptsEnabled()) if (mWorld->getScriptsEnabled())
{ {

Loading…
Cancel
Save