From 5f195b757690cb5bb5658ddb3961d7f39983d6f6 Mon Sep 17 00:00:00 2001 From: Petr Mikheev Date: Sun, 21 Nov 2021 01:48:28 +0100 Subject: [PATCH] Make arguments passed to LuaManager::synchronizedUpdate consistent with arguments passed to LuaManager::update. Fixes #6431. --- apps/openmw/engine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/openmw/engine.cpp b/apps/openmw/engine.cpp index 70d5a26c7a..f43406f705 100644 --- a/apps/openmw/engine.cpp +++ b/apps/openmw/engine.cpp @@ -295,7 +295,7 @@ bool OMW::Engine::frame(float frametime) // Should be called after input manager update and before any change to the game world. // It applies to the game world queued changes from the previous frame. - mLuaManager->synchronizedUpdate(paused, frametime); + mLuaManager->synchronizedUpdate(mEnvironment.getWindowManager()->isGuiMode(), frametime); // update game state {