From 033a27c9baf32bf2d5f38581dad699ca7333fdb6 Mon Sep 17 00:00:00 2001 From: Eltrac Date: Wed, 19 Feb 2025 11:10:30 +0800 Subject: fix: player got caught between doors - can't leave if a room's not cleared - move player slightly forwards so that it won't touch door area after entering --- main.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'main.lua') diff --git a/main.lua b/main.lua index 63a2147..ae58da0 100644 --- a/main.lua +++ b/main.lua @@ -48,6 +48,8 @@ function love.update(dt) enemies.beingShot() loot.beingPicked() + map.update() + if not player.isAlive() then print("Out of hearts. You died!") initGame() -- cgit v1.2.3