confirmation on the start now button since I just accidentally hit it (#12293)

This commit is contained in:
Intigracy
2016-10-20 22:47:56 -07:00
committed by GitHub
parent cbf1131b05
commit 470d770869

View File

@@ -1001,6 +1001,9 @@ var/global/floorIsLava = 0
if(!ticker)
alert("Unable to start the game as it is not set up.")
return
var/confirm = alert("Start the round RIGHT NOW?", "Start", "Yes", "Cancel")
if(confirm == "Cancel")
return
if(ticker.current_state == GAME_STATE_PREGAME)
ticker.current_state = GAME_STATE_SETTING_UP
log_admin("[usr.key] has started the game.")