diff --git a/squirrelbattle/game.py b/squirrelbattle/game.py index ff5d465..b9439b5 100644 --- a/squirrelbattle/game.py +++ b/squirrelbattle/game.py @@ -123,7 +123,7 @@ class Game: self.inventory_menu.go_up() elif key == KeyValues.DOWN: self.inventory_menu.go_down() - if self.inventory_menu.values: + if self.inventory_menu.values and not self.player.dead: if key == KeyValues.USE: self.inventory_menu.validate().use() elif key == KeyValues.EQUIP: