diff options
| author | Vvis <76018445+Lambdagon@users.noreply.github.com> | 2026-03-01 22:33:18 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-02 13:33:18 +0800 |
| commit | 75bf7ee54a2d4bbaded95453ac699c5d2d529628 (patch) | |
| tree | 740e8bb005fdfbb0ba89b5b04bbc664a3516a519 /Minecraft.Client/Windows64/Windows64_Minecraft.cpp | |
| parent | 5b5b9f60721f40f1ddebc4629b9e2802de646fb6 (diff) | |
Allow TAB to open host options (#97)
Diffstat (limited to 'Minecraft.Client/Windows64/Windows64_Minecraft.cpp')
| -rw-r--r-- | Minecraft.Client/Windows64/Windows64_Minecraft.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Minecraft.Client/Windows64/Windows64_Minecraft.cpp b/Minecraft.Client/Windows64/Windows64_Minecraft.cpp index 1bffe317..540c3c53 100644 --- a/Minecraft.Client/Windows64/Windows64_Minecraft.cpp +++ b/Minecraft.Client/Windows64/Windows64_Minecraft.cpp @@ -1220,6 +1220,17 @@ int APIENTRY _tWinMain(_In_ HINSTANCE hInstance, ToggleFullscreen(); } + // TAB opens host options menu. - Vvis :3 + if (KMInput.IsKeyPressed(VK_TAB)) + { + if (Minecraft* pMinecraft = Minecraft::GetInstance()) + { + { + ui.NavigateToScene(0, eUIScene_InGameHostOptionsMenu); + } + } + } + #if 0 // has the game defined profile data been changed (by a profile load) if(app.uiGameDefinedDataChangedBitmask!=0) |
