Merge branch 'hopskipanimjump' into 'master'

Keep running scripts until the menu pauses the game

Closes #8056

See merge request OpenMW/openmw!4243
pull/3236/head
psi29a 6 months ago
commit 1c71f12d4e

@ -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())
{

Loading…
Cancel
Save