aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex <37753918+Acplay5@users.noreply.github.com>2026-03-02 19:02:52 +0300
committerGitHub <noreply@github.com>2026-03-02 23:02:52 +0700
commita4691f58e8e4d51908199135a226efc9aab85d6b (patch)
tree52c72b48ac339983c3fea7939727bae7dd28ec6d
parent7ad6102763131a617d564dbf2d778612ba5046df (diff)
Only handle host options when there is no menu on screen (#140)
-rw-r--r--Minecraft.Client/Windows64/Windows64_Minecraft.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Minecraft.Client/Windows64/Windows64_Minecraft.cpp b/Minecraft.Client/Windows64/Windows64_Minecraft.cpp
index 3268a02b..c2034b8c 100644
--- a/Minecraft.Client/Windows64/Windows64_Minecraft.cpp
+++ b/Minecraft.Client/Windows64/Windows64_Minecraft.cpp
@@ -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())
{