mirror of
https://github.com/OpenMW/openmw.git
synced 2025-03-31 16:36:41 +00:00
Keep running scripts until the menu pauses the game
This commit is contained in:
parent
061f10bef7
commit
299ee1a6b1
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue