Skip to content

Commit

Permalink
Merge branch 'hopskipanimjump' into 'master'
Browse files Browse the repository at this point in the history
Keep running scripts until the menu pauses the game

Closes #8056

See merge request OpenMW/openmw!4243
  • Loading branch information
psi29a committed Jul 9, 2024
2 parents a0e3b2c + 299ee1a commit 1c71f12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/openmw/engine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ bool OMW::Engine::frame(unsigned frameNumber, float frametime)

if (mStateManager->getState() != MWBase::StateManager::State_NoGame)
{
if (!mWindowManager->containsMode(MWGui::GM_MainMenu))
if (!mWindowManager->containsMode(MWGui::GM_MainMenu) || !paused)
{
if (mWorld->getScriptsEnabled())
{
Expand Down

0 comments on commit 1c71f12

Please sign in to comment.