diff --git a/gui/tabs/doors_tab.cpp b/gui/tabs/doors_tab.cpp index bf849e88..aa58e10a 100644 --- a/gui/tabs/doors_tab.cpp +++ b/gui/tabs/doors_tab.cpp @@ -8,7 +8,8 @@ namespace DoorsTab { void Render() { - if (IsInGame() && !State.mapDoors.empty()) { + GameOptions options; + if (IsInGame() && !State.mapDoors.empty() && options.GetGameMode() != GameModes__Enum::HideNSeek) { if (ImGui::BeginTabItem("Doors")) { ImGui::BeginChild("doors#list", ImVec2(200, 0) * State.dpiScale, true); bool shouldEndListBox = ImGui::ListBoxHeader("###doors#list", ImVec2(200, 150) * State.dpiScale); diff --git a/gui/tabs/sabotage_tab.cpp b/gui/tabs/sabotage_tab.cpp index 570f4175..bd2b2d6c 100644 --- a/gui/tabs/sabotage_tab.cpp +++ b/gui/tabs/sabotage_tab.cpp @@ -8,7 +8,8 @@ namespace SabotageTab { void Render() { - if (IsInGame()) { + GameOptions options; + if (IsInGame() && options.GetGameMode() != GameModes__Enum::HideNSeek) { if (ImGui::BeginTabItem("Sabotage")) { ImGui::Dummy(ImVec2(4, 4) * State.dpiScale); if (ImGui::Button("Repair Sabotage")) {