From 9d1c850f8eafaac4f63e1aacbb9271dd02ed9236 Mon Sep 17 00:00:00 2001 From: SoundScopes Date: Mon, 8 Dec 2014 19:45:46 +0000 Subject: [PATCH] Delay confirmation --- code/modules/admin/admin.dm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/modules/admin/admin.dm b/code/modules/admin/admin.dm index de03fcfc..df657b4f 100644 --- a/code/modules/admin/admin.dm +++ b/code/modules/admin/admin.dm @@ -982,6 +982,9 @@ var/global/floorIsLava = 0 if(!check_rights(R_SERVER|R_DEBUG)) return if (!ticker || ticker.current_state != GAME_STATE_PREGAME) + if(ticker.delay_end) + if(alert(usr, "End the round normally?", "End Normally?", "No", "Yes") == "No") + return 0 ticker.delay_end = !ticker.delay_end log_admin("[key_name(usr)] [ticker.delay_end ? "delayed the round end" : "has made the round end normally"].") message_admins("\blue [key_name(usr)] [ticker.delay_end ? "delayed the round end" : "has made the round end normally"].", 1)