summaryrefslogtreecommitdiff
path: root/scripts/interface.gd
diff options
context:
space:
mode:
authorLogan <logan@cflip.net>2022-10-02 12:53:14 -0600
committerLogan <logan@cflip.net>2022-10-02 12:53:14 -0600
commit822cc7981170a4337cb570cf0f4f5899fa07a0f4 (patch)
tree7cc154785d2366e8fa0754b3fafe53a53917c936 /scripts/interface.gd
parentd10bfcc48ebaf5dcdf58d25ff0c3c29a2a8157ad (diff)
Added hourglass sprite into game interface.
Diffstat (limited to 'scripts/interface.gd')
-rw-r--r--scripts/interface.gd2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/interface.gd b/scripts/interface.gd
index 6aab7dd..a242ae2 100644
--- a/scripts/interface.gd
+++ b/scripts/interface.gd
@@ -20,7 +20,7 @@ func update_labels():
$PhaseLabel.text = "Next Phase: " + str($"../Basketball".phase_increment[phase_index] - global_variables.score)
func update_timer():
- $TimerLabel.text = "Time: " + str(time_left)
+ $TimerLabel.set_text("%03d" % time_left)
func _on_Timer_timeout():
if time_left > 0: