mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-08-20 09:57:09 +00:00
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:
parent
fd6350b7f9
commit
992e243eb7
|
|
@ -1235,13 +1235,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);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue