Changed the pregame time from 90 seconds to 180 seconds. Delay(admin verb) can now also be used after round end has been announced, to keep the world from rebooting. Also boosted the restart delay from 25 seconds to 60 seconds.

This commit is contained in:
cib
2011-12-22 16:26:07 -08:00
parent 3f17d08b73
commit d539e4b539
2 changed files with 13 additions and 5 deletions

View File

@@ -2385,14 +2385,20 @@
set category = "Server"
set desc="Delay the game start"
set name="Delay"
if (!ticker || ticker.current_state != GAME_STATE_PREGAME)
if (!ticker || (ticker.current_state != GAME_STATE_PREGAME && ticker.current_state != GAME_STATE_FINISHED))
return alert("Too late... The game has already started!", null, null, null, null, null)
going = !( going )
if (!( going ))
world << "<b>The game start has been delayed.</b>"
if(ticker.current_state == GAME_STATE_FINISHED)
world << "<b>The game end has been delayed.</b>"
else
world << "<b>The game start has been delayed.</b>"
log_admin("[key_name(usr)] delayed the game.")
else
world << "<b>The game will start soon.</b>"
if(ticker.current_state == GAME_STATE_FINISHED)
world << "<b>The game will end soon.</b>"
else
world << "<b>The game will start soon.</b>"
log_admin("[key_name(usr)] removed the delay.")
/obj/admins/proc/adjump()