mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 16:18:01 +01:00
[MIRROR] Update stat panel to give round time days. (#395)
* Update stat panel to give round time days. (#52986) * Update stat panel to give round time days. Co-authored-by: WarlockD <warlockd@gmail.com>
This commit is contained in:
@@ -815,7 +815,11 @@
|
||||
stat(null, "Round ID: [GLOB.round_id ? GLOB.round_id : "NULL"]")
|
||||
stat(null, "Server Time: [time2text(world.timeofday, "YYYY-MM-DD hh:mm:ss")]")
|
||||
if (SSticker.round_start_time)
|
||||
stat(null, "Round Time: [gameTimestamp("hh:mm:ss", (world.time - SSticker.round_start_time))]")
|
||||
var/round_time = world.time - SSticker.round_start_time
|
||||
if(round_time > MIDNIGHT_ROLLOVER)
|
||||
stat(null, "Round Time: [round(round_time/MIDNIGHT_ROLLOVER)]:[gameTimestamp("hh:mm:ss", round_time)]")
|
||||
else
|
||||
stat(null, "Round Time: [gameTimestamp("hh:mm:ss", round_time)]")
|
||||
else
|
||||
stat(null, "Lobby Time: [gameTimestamp("hh:mm:ss", 0)]")
|
||||
stat(null, "Station Time: [station_time_timestamp()]")
|
||||
|
||||
Reference in New Issue
Block a user