Minor rework of lobby admin verbs

Both me and #9228 fixed the same bug, so I reverted mine

Starting the round with the start now verb will now show a tip of the round.
This commit is contained in:
MrStonedOne
2015-04-30 18:27:58 -07:00
parent ccf90332c2
commit fe1d3c22d5
2 changed files with 4 additions and 7 deletions

View File

@@ -581,8 +581,7 @@ var/global/floorIsLava = 0
set name="Start Now"
if(ticker.current_state == GAME_STATE_PREGAME)
ticker.can_fire = 1
ticker.delay_start = 0
ticker.current_state = GAME_STATE_SETTING_UP
ticker.timeLeft = 0
log_admin("[usr.key] has started the game.")
message_admins("<font color='blue'>[usr.key] has started the game.</font>")
feedback_add_details("admin_verb","SN") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
@@ -638,8 +637,8 @@ var/global/floorIsLava = 0
set name="Delay"
if(ticker.current_state > GAME_STATE_PREGAME)
return alert("Too late... The game has already started!")
ticker.delay_start = !ticker.delay_start
if(ticker.delay_start)
ticker.can_fire = !ticker.can_fire
if(!ticker.can_fire)
world << "<b>The game start has been delayed.</b>"
log_admin("[key_name(usr)] delayed the game.")
else