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
This commit is contained in:
DetectivEren 2026-03-02 23:02:45 +00:00
parent fd6350b7f9
commit 992e243eb7

View file

@ -1235,13 +1235,14 @@ int APIENTRY _tWinMain(_In_ HINSTANCE hInstance,
ToggleFullscreen(); 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 (KMInput.IsKeyPressed(VK_TAB) && !ui.GetMenuDisplayed(0))
{ {
if (Minecraft* pMinecraft = Minecraft::GetInstance()) if (Minecraft* pMinecraft = Minecraft::GetInstance())
{ {
{ {
ui.NavigateToScene(0, eUIScene_InGameHostOptionsMenu); ui.NavigateToScene(0, eUIScene_InGameInfoMenu);
} }
} }
} }