Round time starts counting from round-start, not world-start (#48273)

* Round time no longer includes time spent on startup.

* Add lobby time/round time check

* Indents
This commit is contained in:
Buggy123
2019-12-22 09:26:47 +01:00
committed by skoglol
parent 18dc7f41e5
commit 0e1d968efc
+4 -1
View File
@@ -696,7 +696,10 @@
stat(null, "Next Map: [cached.map_name]")
stat(null, "Round ID: [GLOB.round_id ? GLOB.round_id : "NULL"]")
stat(null, "Server Time: [time2text(world.timeofday, "YYYY-MM-DD hh:mm:ss")]")
stat(null, "Round Time: [worldtime2text()]")
if (SSticker.round_start_time)
stat(null, "Round Time: [gameTimestamp("hh:mm:ss", (world.time - SSticker.round_start_time))]")
else
stat(null, "Lobby Time: [gameTimestamp("hh:mm:ss", 0)]")
stat(null, "Station Time: [station_time_timestamp()]")
stat(null, "Time Dilation: [round(SStime_track.time_dilation_current,1)]% AVG:([round(SStime_track.time_dilation_avg_fast,1)]%, [round(SStime_track.time_dilation_avg,1)]%, [round(SStime_track.time_dilation_avg_slow,1)]%)")
if(SSshuttle.emergency)