Skip to content

Commit

Permalink
fix: played time
Browse files Browse the repository at this point in the history
  • Loading branch information
florianvazelle committed Dec 1, 2024
1 parent 9443151 commit 9f09a73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/scenario.gd
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
Expand Down

0 comments on commit 9f09a73

Please sign in to comment.