aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client/Windows64/Windows64_Minecraft.cpp
diff options
context:
space:
mode:
authorAlezito2008 <92759854+Alezito2008@users.noreply.github.com>2026-03-05 04:26:19 -0300
committerGitHub <noreply@github.com>2026-03-05 14:26:19 +0700
commit053eb0119cc5d154a63b19cbddd8e8d91404068b (patch)
treecd2c19b9dac7c71fd1e1b5cd73561bd8635d557a /Minecraft.Client/Windows64/Windows64_Minecraft.cpp
parent91e50aa346c975d1f177b7ec2201c4e01839d75d (diff)
Fix F3 opening host menu (#522)
* Fix debug menu opening game info menu * remove redundant F4 handling
Diffstat (limited to 'Minecraft.Client/Windows64/Windows64_Minecraft.cpp')
-rw-r--r--Minecraft.Client/Windows64/Windows64_Minecraft.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/Minecraft.Client/Windows64/Windows64_Minecraft.cpp b/Minecraft.Client/Windows64/Windows64_Minecraft.cpp
index 49c43cea..d38ad442 100644
--- a/Minecraft.Client/Windows64/Windows64_Minecraft.cpp
+++ b/Minecraft.Client/Windows64/Windows64_Minecraft.cpp
@@ -1569,19 +1569,6 @@ int APIENTRY _tWinMain(_In_ HINSTANCE hInstance,
}
#ifdef _DEBUG_MENUS_ENABLED
- // F4 Open debug overlay
- if (g_KBMInput.IsKeyPressed(VK_F4))
- {
- if (Minecraft *pMinecraft = Minecraft::GetInstance())
- {
- if (pMinecraft->options &&
- app.GetGameStarted() && !ui.GetMenuDisplayed(0) && pMinecraft->screen == NULL)
- {
- ui.NavigateToScene(0, eUIScene_DebugOverlay, NULL, eUILayer_Debug);
- }
- }
- }
-
// F6 Open debug console
if (g_KBMInput.IsKeyPressed(VK_F6))
{