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:
@@ -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);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user