Merge pull request #32367 from tgstation/Cyberboss-patch-3

Adds 'round' chat command
This commit is contained in:
Leo
2017-11-03 20:36:06 -02:00
committed by CitadelStationBot
parent 910e6b6396
commit 1db88cecb2

View File

@@ -73,4 +73,11 @@ GLOBAL_LIST(round_end_notifiees)
return "[sender], the round has already ended!"
LAZYINITLIST(GLOB.round_end_notifiees)
GLOB.round_end_notifiees[sender] = TRUE
return "I will notify [sender] when the round ends."
return "I will notify [sender] when the round ends."
/datum/server_tools_command/round
name = "round"
help_text = "Displays the current round ID"
/datum/server_tools_command/round/Run(sender, params)
return GLOB.round_id ? "[GLOB.round_id]" : "No round ID set!"