summaryrefslogtreecommitdiff
path: root/Scenes/UI/HealthBar.gd
diff options
context:
space:
mode:
Diffstat (limited to 'Scenes/UI/HealthBar.gd')
-rw-r--r--Scenes/UI/HealthBar.gd2
1 files changed, 1 insertions, 1 deletions
diff --git a/Scenes/UI/HealthBar.gd b/Scenes/UI/HealthBar.gd
index 8c4c90d..ba51007 100644
--- a/Scenes/UI/HealthBar.gd
+++ b/Scenes/UI/HealthBar.gd
@@ -9,7 +9,7 @@ func connect_to_player(player_to_connect: Player):
self.player = player_to_connect
self.draw_health()
- self.player.connect("damaged", func (_health): self.draw_health())
+ self.player.connect("health_changed", func (_health): self.draw_health())
func draw_health():