aboutsummaryrefslogtreecommitdiffstats
path: root/Main.gd
diff options
context:
space:
mode:
authorLMBishop <13875753+LMBishop@users.noreply.github.com>2022-10-30 03:46:30 +0000
committerLMBishop <13875753+LMBishop@users.noreply.github.com>2022-10-30 03:46:30 +0000
commit6c4e9dd16416fc7d0af6dff2a434e03086893f7c (patch)
tree1ce69360c2047f21ad2c948254d5aebe475273ac /Main.gd
parent34b97ea823b1627eac2b91825cd1a748d87afd60 (diff)
Add coin to game over
Diffstat (limited to 'Main.gd')
-rw-r--r--Main.gd1
1 files changed, 1 insertions, 0 deletions
diff --git a/Main.gd b/Main.gd
index f93ecbc..26ceb96 100644
--- a/Main.gd
+++ b/Main.gd
@@ -11,6 +11,7 @@ func _ready():
randomize()
get_node("KinematicBody2D").connect("hit", get_node("HUD/HBoxContainer/HealthBar"), "_on_player_hit")
get_node("KinematicBody2D").connect("coin", get_node("HUD/HBoxContainer/Money"), "_on_coin_hit")
+ get_node("KinematicBody2D").connect("coin", get_node("HUD/Wordart/Wordart(1)/Label"), "_on_coin_hit")
$EnemySpawnTimer.start()