Make arguments passed to LuaManager::synchronizedUpdate consistent with arguments passed to LuaManager::update. Fixes #6431.

This commit is contained in:
Petr Mikheev 2021-11-21 01:48:28 +01:00
parent a9d7598532
commit 5f195b7576

View file

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