aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.Client')
-rw-r--r--Minecraft.Client/Windows64/Windows64_Minecraft.cpp11
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)