diff options
author | Daniel Weipert <git@mail.dweipert.de> | 2023-12-28 09:07:41 +0100 |
---|---|---|
committer | Daniel Weipert <git@mail.dweipert.de> | 2023-12-28 09:07:41 +0100 |
commit | 96d36cee33d6321834565f0a5d412ef95c5ceffd (patch) | |
tree | 0dec02c5915cc154d48eef6ac9c2cd0be7df7982 /Scenes/UI/HealthBar.gd | |
parent | 46556d864b9685c3b09a0038f5de83966fe7ff94 (diff) |
next commit
Diffstat (limited to 'Scenes/UI/HealthBar.gd')
-rw-r--r-- | Scenes/UI/HealthBar.gd | 2 |
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(): |