Lille fix

This commit is contained in:
Rhodez-x committed 2023-05-17 15:30:47 +02:00
1 parent c107423fa1
commit 34f4a4c93a
1 file changed
+1 -1
+1 -1
View File
@@ -158,7 +158,7 @@ class Enemy(pygame.sprite.Sprite):
if life_ratio >= 0.75: if life_ratio >= 0.75:
self.health_bar_color = GREEN self.health_bar_color = GREEN
elif life_ratio < 0.75 and life_ratio > 0.25: elif life_ratio < 0.75 and life_ratio > 0.26:
self.health_bar_color = YELLOW self.health_bar_color = YELLOW
else: else:
self.health_bar_color = RED self.health_bar_color = RED