diff --git a/src/entities/Player.py b/src/entities/Player.py index 70ed5d4..4a64a1f 100644 --- a/src/entities/Player.py +++ b/src/entities/Player.py @@ -97,6 +97,9 @@ class Player(Entity): elif self.statistics.hp == 0: self.alive = False self.deathReason = StatisticNames.HP + elif self.statistics.stamina == 0: + self.alive = False + self.deathReason = StatisticNames.STAMINA # Change texture after dying if not self.alive: