[MIRROR] Enables Dead OOC at round-end (#2835)

* Enables Dead OOC at round-end (#30716)

* Enables Dead OOC at roundend

* proc

* proc #2

* Enables Dead OOC at round-end
This commit is contained in:
CitadelStationBot
2017-09-17 22:20:15 -05:00
committed by Poojawa
parent d4f20a113f
commit a94a8f9ab4
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)