summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--world.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/world.c b/world.c
index 33ce1ab..635205e 100644
--- a/world.c
+++ b/world.c
@@ -185,6 +185,7 @@ void player_place(world *w, int x, int y) {
set_tile(w, w->player.pos, TILE_BLOCK_WHITE);
w->player.pos = push;
w->player.scores[TILE_LIGHT]--;
+ if (w->player.stamina > 0) w->player.stamina -= 2;
}
}
}