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

fix-static-urls
Petr Mikheev 3 years ago
parent a9d7598532
commit 5f195b7576

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

Loading…
Cancel
Save