aboutsummaryrefslogtreecommitdiff
path: root/player.c
diff options
context:
space:
mode:
Diffstat (limited to 'player.c')
-rw-r--r--player.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/player.c b/player.c
index 4a82cff..7135557 100644
--- a/player.c
+++ b/player.c
@@ -130,6 +130,7 @@ void update_player(Player* player, World* world) {
}
if (player->hp <= 0) {
+ world->oom = 0;
game_change_state(&game, game_state_dead);
}