fix(jui): tick screen even if not ingame

required for title screen panorama
This commit is contained in:
Sally Knight 2026-03-25 18:26:31 +03:00 committed by Tropical
parent 1d25dc9750
commit 0728ac8731

View file

@ -1965,13 +1965,12 @@ void Minecraft::run_middle() {
// clear the stored button downs since the tick for this
// player will now have actioned them
player->ullButtonsPressed = 0LL;
} else if (screen != NULL) {
screen->updateEvents();
screen->tick();
}
}
if (screen != NULL) {
screen->updateEvents();
}
ui.HandleGameTick();
setLocalPlayerIdx(ProfileManager.GetPrimaryPad());