From 9f09a73815d4e0b5df3a0f9043b519c8b676eed7 Mon Sep 17 00:00:00 2001 From: florianvazelle Date: Sun, 1 Dec 2024 15:08:51 +0100 Subject: [PATCH] fix: played time --- scripts/scenario.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/scenario.gd b/scripts/scenario.gd index 38649d7..4a29027 100644 --- a/scripts/scenario.gd +++ b/scripts/scenario.gd @@ -47,7 +47,7 @@ func _on_Scenario_animation_finished(anim_name: StringName): var outro_ui = $"../UI/Outro" var scores = outro_ui.get_node("CenterContainer/VBoxContainer/HBoxContainer/VBoxContainer2") - scores.get_node("PlayingTimeScore").set_text("%fm" % playing_time) + scores.get_node("PlayingTimeScore").set_text("%02d:%02d" % [playing_time / 60, fmod(playing_time, 60)]) scores.get_node("CollectableFoundedScore").set_text( "%s / 5" % GameState.collectable_founded )