Browse Source

Lille fix

master
Jørn Guldberg 11 months ago
parent
commit
34f4a4c93a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      julespil/game.py

+ 1
- 1
julespil/game.py View File

@ -158,7 +158,7 @@ class Enemy(pygame.sprite.Sprite):
if life_ratio >= 0.75:
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
else:
self.health_bar_color = RED

Loading…
Cancel
Save