From 96d36cee33d6321834565f0a5d412ef95c5ceffd Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Thu, 28 Dec 2023 09:07:41 +0100 Subject: next commit --- Scenes/UI/HealthBar.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Scenes/UI/HealthBar.gd') 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(): -- cgit v1.2.3