Skip to content
Snippets Groups Projects
Commit eda4f156 authored by lowercasedonkey's avatar lowercasedonkey
Browse files

Bugfix: Display guardUse if tabs are enabled but overview tab is not

parent d00c583f
No related branches found
No related tags found
1 merge request!1533Tabbed main screen
...@@ -499,8 +499,9 @@ Filter by assignment: | ...@@ -499,8 +499,9 @@ Filter by assignment: |
<</if>> <</if>>
<</if>> <</if>>
<</for>> <</for>>
<</if>>
<<if (_BG > -1) && ($slaves[_BG].assignment == "guard you")>> <<if (_BG > -1) && ($slaves[_BG].assignment == "guard you") && ($useSlaveSummaryOverviewTab != 1)>>
<<set $i = _BG>> <<set $i = _BG>>
<<set _GO = "idiot ball">> <<set _GO = "idiot ball">>
<br><<include "Use Guard">> <br><<include "Use Guard">>
...@@ -522,7 +523,6 @@ Filter by assignment: | ...@@ -522,7 +523,6 @@ Filter by assignment: |
| <<print "[[Abuse her|Gameover][$gameover = _GO]]">> | <<print "[[Abuse her|Gameover][$gameover = _GO]]">>
<</if>> <</if>>
<</if>>
<<set $activeSlave = $slaves.random()>> <<set $activeSlave = $slaves.random()>>
<<if $activeSlave && ($activeSlave.assignment != "please you") && ($activeSlave.assignment != "guard you")>> <<if $activeSlave && ($activeSlave.assignment != "please you") && ($activeSlave.assignment != "guard you")>>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment