Mercurial > touhou
diff pytouhou/games/eosd.py @ 350:b3049fb5c448
Fix remaining lives display issue
author | Thibaut Girka <thib@sitedethib.com> |
---|---|
date | Sat, 07 Jul 2012 21:32:49 +0200 |
parents | 96e30d6268dd |
children | a628b48a745f |
line wrap: on
line diff
--- a/pytouhou/games/eosd.py +++ b/pytouhou/games/eosd.py @@ -169,7 +169,7 @@ class EoSDInterface(object): self.labels['player'].set_value(player_state.lives) self.labels['bombs'].set_value(player_state.bombs) - if self.game.boss and self.game.boss._enemy.remaining_lives != -1: + if self.game.boss: boss = self.game.boss._enemy life_gauge = self.boss_items[1]