Allow TAB to open host options (#97)

This commit is contained in:
Vvis
2026-03-01 22:33:18 -07:00
committed by GitHub
parent 5b5b9f6072
commit 75bf7ee54a
2 changed files with 12 additions and 0 deletions

View File

@@ -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)