diff options
| author | Karsam <oscdapro@gmail.com> | 2026-03-02 00:28:30 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-02 15:28:30 +0700 |
| commit | d6ec138710461294c3ffd2723bc8a9f212d3471f (patch) | |
| tree | 6b750cbdde9d2bd2aeaec9880ac7db62e9356745 /Minecraft.Client/Common | |
| parent | e15bd26917cca606800c025371e61129109af004 (diff) | |
Fixed issue 109 with tab menu (#116)
Diffstat (limited to 'Minecraft.Client/Common')
| -rw-r--r-- | Minecraft.Client/Common/UI/UILayer.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Minecraft.Client/Common/UI/UILayer.cpp b/Minecraft.Client/Common/UI/UILayer.cpp index e6f87f81..15bde2fa 100644 --- a/Minecraft.Client/Common/UI/UILayer.cpp +++ b/Minecraft.Client/Common/UI/UILayer.cpp @@ -313,6 +313,10 @@ bool UILayer::NavigateToScene(int iPad, EUIScene scene, void *initData) newScene = new UIScene_InGameInfoMenu(iPad, initData, this); break; case eUIScene_InGameHostOptionsMenu: + if (IsSceneInStack(eUIScene_InGameHostOptionsMenu)) { + app.DebugPrintf("Skipped eUIScene_InGameHostOptionsMenu, we have already this tab!"); + return false; + } newScene = new UIScene_InGameHostOptionsMenu(iPad, initData, this); break; case eUIScene_InGamePlayerOptionsMenu: |
