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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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