mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-05-22 03:23:51 +00:00
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:
parent
e888735798
commit
f731a68422
2 changed files with 4 additions and 3 deletions
|
|
@ -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);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue