summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--racing/load.gd2
1 files changed, 1 insertions, 1 deletions
diff --git a/racing/load.gd b/racing/load.gd index 1455171..3fed3c9 100644 --- a/racing/load.gd +++ b/racing/load.gd
@@ -99,5 +99,5 @@ func bump_timer():
99 var race_manager = global.get_node("RaceManager") 99 var race_manager = global.get_node("RaceManager")
100 var elapsed = float(Time.get_ticks_msec() - race_manager.started_time) / 1000.0 100 var elapsed = float(Time.get_ticks_msec() - race_manager.started_time) / 1000.0
101 get_node("timer_label").text = ( 101 get_node("timer_label").text = (
102 "%d:%02d:%02.2f" % [int(elapsed) / 60 / 60, int(elapsed) / 60 % 60, fmod(elapsed, 60.0)] 102 "%d:%02d:%05.2f" % [int(elapsed) / 60 / 60, int(elapsed) / 60 % 60, fmod(elapsed, 60.0)]
103 ) 103 )