From eda4f156d974ee801cbb8b8b36152347ef6f4ab9 Mon Sep 17 00:00:00 2001
From: lowercase-donkey <lowercasedonkey@gmail.com>
Date: Sun, 4 Mar 2018 16:14:00 -0500
Subject: [PATCH] Bugfix: Display guardUse if tabs are enabled but overview tab
 is not

---
 src/uncategorized/main.tw | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/uncategorized/main.tw b/src/uncategorized/main.tw
index 8a3f21bbe13..794053b3271 100644
--- a/src/uncategorized/main.tw
+++ b/src/uncategorized/main.tw
@@ -499,8 +499,9 @@ Filter by assignment: |
 	<</if>>
 <</if>>
 <</for>>
+<</if>>
 
-<<if (_BG > -1) && ($slaves[_BG].assignment == "guard you")>>
+<<if (_BG > -1) && ($slaves[_BG].assignment == "guard you") && ($useSlaveSummaryOverviewTab != 1)>>
 	<<set $i = _BG>>
 	<<set _GO = "idiot ball">>
 	<br><<include "Use Guard">>
@@ -522,7 +523,6 @@ Filter by assignment: |
 	| <<print "[[Abuse her|Gameover][$gameover = _GO]]">>
 <</if>>
 
-<</if>>
 
 <<set $activeSlave = $slaves.random()>>
 <<if $activeSlave && ($activeSlave.assignment != "please you") && ($activeSlave.assignment != "guard you")>>
-- 
GitLab