Only handle host options when there is no menu on screen (#140)

This commit is contained in:
Alex
2026-03-02 19:02:52 +03:00
committed by GitHub
parent 7ad6102763
commit a4691f58e8

View File

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