DisplayTimeText for round time on login

This commit is contained in:
ShizCalev
2017-09-26 15:43:01 -04:00
committed by CitadelStationBot
parent 18545eb41c
commit fa92394e4e

View File

@@ -32,10 +32,10 @@
new_player_panel()
client.playtitlemusic()
if(SSticker.current_state < GAME_STATE_SETTING_UP)
var/tl = round(SSticker.GetTimeLeft(), 1)/10
var/tl = SSticker.GetTimeLeft()
var/postfix
if(tl >= 0)
postfix = "in about [tl] seconds"
if(tl > 0)
postfix = "in about [DisplayTimeText(tl)]"
else
postfix = "soon"
to_chat(src, "Please set up your character and select \"Ready\". The game will start [postfix].")