Confirmation

This commit is contained in:
joep van der velden
2019-03-17 10:17:39 +01:00
parent 0f2420d00f
commit 1131133d59
+2
View File
@@ -671,6 +671,8 @@ var/global/nologevent = 0
alert("Unable to start the game as it is not set up.")
return
if(ticker.current_state == GAME_STATE_PREGAME)
if(alert(usr, "Are you sure you want to start now?", "Start game", "Yes", "No") != "Yes")
return
ticker.current_state = GAME_STATE_SETTING_UP
log_admin("[key_name(usr)] has started the game.")
message_admins("[key_name_admin(usr)] has started the game.")