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
This commit is contained in:
musketstgstation@gmail.com
2010-12-12 22:45:42 +00:00
parent 20cbb1b800
commit ef103ccbea
2 changed files with 3 additions and 0 deletions

View File

@@ -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