Enables Dead OOC at round-end (#30716)

* Enables Dead OOC at roundend

* proc

* proc #2
This commit is contained in:
vuonojenmustaturska
2017-09-17 17:22:12 -04:00
committed by Jordan Brown
parent 62229e5c70
commit a0fc9c3af8
3 changed files with 13 additions and 3 deletions
+9
View File
@@ -80,6 +80,15 @@
GLOB.ooc_allowed = !GLOB.ooc_allowed
to_chat(world, "<B>The OOC channel has been globally [GLOB.ooc_allowed ? "enabled" : "disabled"].</B>")
/proc/toggle_dooc(toggle = null)
if(toggle != null)
if(toggle != GLOB.dooc_allowed)
GLOB.dooc_allowed = toggle
else
return
else
GLOB.dooc_allowed = !GLOB.dooc_allowed
GLOBAL_VAR_INIT(normal_ooc_colour, OOC_COLOR)
/client/proc/set_ooc(newColor as color)