From ef103ccbea695632b2f2217130816878f45db31a Mon Sep 17 00:00:00 2001 From: "musketstgstation@gmail.com" Date: Sun, 12 Dec 2010 22:45:42 +0000 Subject: [PATCH] Added confirmation to the THERE CAN BE ONLY ONE button and made it coder-level. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@598 316c924e-a436-60f5-8080-3fe189b3f50e --- code/modules/admin/admin_verbs.dm | 1 + code/modules/admin/verbs/onlyone.dm | 2 ++ 2 files changed, 3 insertions(+) diff --git a/code/modules/admin/admin_verbs.dm b/code/modules/admin/admin_verbs.dm index a69ae0ffad0..a7f82900d94 100644 --- a/code/modules/admin/admin_verbs.dm +++ b/code/modules/admin/admin_verbs.dm @@ -191,6 +191,7 @@ src.verbs += /client/proc/ticklag src.verbs += /client/proc/toggle_view_range src.verbs += /client/proc/warn + src.verbs += /client/proc/only_one // muskets src.verbs += /obj/admins/proc/adjump //toggle admin jumping src.verbs += /obj/admins/proc/adrev //toggle admin revives src.verbs += /obj/admins/proc/adspawn //toggle admin item spawning diff --git a/code/modules/admin/verbs/onlyone.dm b/code/modules/admin/verbs/onlyone.dm index b5985633e9a..d4037083708 100644 --- a/code/modules/admin/verbs/onlyone.dm +++ b/code/modules/admin/verbs/onlyone.dm @@ -5,6 +5,8 @@ if(!ticker) alert("The game hasn't started yet!") return + if(alert("BEGIN THE TOURNAMENT?",,"Yes","No")=="No") + return for(var/mob/living/carbon/human/H in world) if(H.stat == 2 || !(H.client)) continue if(checktraitor(H)) continue