mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
confirmation on the start now button since I just accidentally hit it (#12293)
This commit is contained in:
@@ -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.")
|
||||
|
||||
Reference in New Issue
Block a user