mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-08-20 09:57:09 +00:00
Only handle host options when there is no menu on screen
This commit is contained in:
parent
320550b30b
commit
71c8cbdc12
|
|
@ -1224,7 +1224,7 @@ int APIENTRY _tWinMain(_In_ HINSTANCE hInstance,
|
|||
}
|
||||
|
||||
// TAB opens host options menu. - Vvis :3
|
||||
if (KMInput.IsKeyPressed(VK_TAB))
|
||||
if (KMInput.IsKeyPressed(VK_TAB) && !ui.GetMenuDisplayed(0))
|
||||
{
|
||||
if (Minecraft* pMinecraft = Minecraft::GetInstance())
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue