Observer Orbit menu is now fancy TGUI (#14810)

* Observer menu is now fancy TGUI

* Review comments.

* Actually, let's show more of the antags in the selection.
This commit is contained in:
moxian
2020-11-04 15:37:44 -08:00
committed by GitHub
parent fe8e82162c
commit 1f0156a780
9 changed files with 329 additions and 13 deletions
+2 -2
View File
@@ -281,7 +281,7 @@
if(!g.client.holder) //Remove the verb from non-admin ghosts
g.verbs -= /mob/dead/observer/verb/toggle_antagHUD
if(g.antagHUD)
g.antagHUD = 0 // Disable it on those that have it enabled
g.antagHUD = FALSE // Disable it on those that have it enabled
g.has_enabled_antagHUD = 2 // We'll allow them to respawn
to_chat(g, "<span class='danger'>The Administrator has disabled AntagHUD </span>")
config.antag_hud_allowed = 0
@@ -320,7 +320,7 @@
for(var/mob/dead/observer/g in get_ghosts())
to_chat(g, "<span class='danger'>The administrator has placed restrictions on joining the round if you use AntagHUD</span>")
to_chat(g, "<span class='danger'>Your AntagHUD has been disabled, you may choose to re-enabled it but will be under restrictions </span>")
g.antagHUD = 0
g.antagHUD = FALSE
g.has_enabled_antagHUD = 0
action = "placed restrictions"
config.antag_hud_restricted = 1