TAB key opens up game info instead of host options (#204)

* TAB key opens up game info instead of host options

TAB key opens up game info menu instead of host options menu because the player accesses host options from game info

* Update README.md
This commit is contained in:
DetectivEren authored and GitHub committed 2026-03-03 06:23:59 +07:00
1 parent e888735798
commit f731a68422
2 files changed
+4 -3

No files matched your search

@@ -1321,13 +1321,14 @@ int APIENTRY _tWinMain(_In_ HINSTANCE hInstance,
ToggleFullscreen();
}
// TAB opens host options menu. - Vvis :3
// TAB opens game info menu. - Vvis :3 - Updated by detectiveren
if (KMInput.IsKeyPressed(VK_TAB) && !ui.GetMenuDisplayed(0))
{
if (Minecraft* pMinecraft = Minecraft::GetInstance())
{
{
ui.NavigateToScene(0, eUIScene_InGameHostOptionsMenu);
ui.NavigateToScene(0, eUIScene_InGameInfoMenu);
}
}
}