From 1db88cecb222ed9f83e8c6f2a190e37e2953f84f Mon Sep 17 00:00:00 2001 From: Leo Date: Fri, 3 Nov 2017 20:36:06 -0200 Subject: [PATCH 1/2] Merge pull request #32367 from tgstation/Cyberboss-patch-3 Adds 'round' chat command --- code/modules/admin/chat_commands.dm | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/code/modules/admin/chat_commands.dm b/code/modules/admin/chat_commands.dm index ec79aaca07..bf319fd278 100644 --- a/code/modules/admin/chat_commands.dm +++ b/code/modules/admin/chat_commands.dm @@ -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." \ No newline at end of file + 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!"