Fixed binocular bugs

This commit is contained in:
Lwmte 2024-11-03 12:11:49 +01:00
parent f51d499e68
commit 4aac07c0c4

View file

@ -224,11 +224,6 @@ GameStatus ControlPhase(bool insideMenu)
PlaySoundSources();
Sound_UpdateScene();
UpdateCamera();
// Post-loop script and event handling.
g_GameScript->OnLoop(DELTA_TIME, true);
// Handle inventory, pause, load, save screens.
if (!insideMenu)
{
@ -242,6 +237,11 @@ GameStatus ControlPhase(bool insideMenu)
return result;
}
UpdateCamera();
// Post-loop script and event handling.
g_GameScript->OnLoop(DELTA_TIME, true);
// Clear savegame loaded flag.
JustLoaded = false;