From e635f7cbf3b693110ee16a4ce8b254bdeb243d80 Mon Sep 17 00:00:00 2001 From: IK3I Date: Wed, 21 Mar 2018 18:43:52 -0500 Subject: [PATCH] Antag Toggle now appears only after antags are chosen in preferences. --- code/modules/mob/new_player/new_player.dm | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/code/modules/mob/new_player/new_player.dm b/code/modules/mob/new_player/new_player.dm index 2dcaa837d8a..a3ee342091c 100644 --- a/code/modules/mob/new_player/new_player.dm +++ b/code/modules/mob/new_player/new_player.dm @@ -32,9 +32,11 @@ if(!ready) output += "

Declare Ready

" else output += "

You are ready (Cancel)

" - if(!skip_antag) output += "

Toggle Antag Rolling" - else output += "

Toggle Antag Rolling" - output += "
[skip_antag ? "Disabled" : "Enabled"]

" + var/list/antags = client.prefs.be_special + if(antags && antags.len) + if(!skip_antag) output += "

Toggle Antag Rolling" + else output += "

Toggle Antag Rolling" + output += "
[skip_antag ? "Disabled" : "Enabled"]

" else output += "

View the Crew Manifest

" output += "

Join Game!

"