Only handle host options when there is no menu on screen

This commit is contained in:
Alex 2026-03-02 18:29:27 +03:00 committed by GitHub
parent 320550b30b
commit 71c8cbdc12
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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())
{