Fix F3 opening host menu (#522)

* Fix debug menu opening game info menu

* remove redundant F4 handling
This commit is contained in:
Alezito2008
2026-03-05 04:26:19 -03:00
committed by GitHub
parent 91e50aa346
commit 053eb0119c
3 changed files with 3 additions and 15 deletions

View File

@@ -1494,9 +1494,9 @@ void Minecraft::run_middle()
if(g_KBMInput.IsKeyPressed(KeyboardMouseInput::KEY_THIRD_PERSON))
localplayers[i]->ullButtonsPressed|=1LL<<MINECRAFT_ACTION_RENDER_THIRD_PERSON;
if(g_KBMInput.IsKeyPressed(KeyboardMouseInput::KEY_DEBUG_INFO))
if(g_KBMInput.IsKeyPressed(KeyboardMouseInput::KEY_DEBUG_MENU))
{
localplayers[i]->ullButtonsPressed|=1LL<<MINECRAFT_ACTION_GAME_INFO;
localplayers[i]->ullButtonsPressed|=1LL<<MINECRAFT_ACTION_RENDER_DEBUG;
}
// In flying mode, Shift held = sneak/descend