From 940d4ec8f0f2c84f8e19617ca7bea9addc8545ce Mon Sep 17 00:00:00 2001 From: Eltrac Date: Sat, 15 Mar 2025 22:16:26 +0800 Subject: fix: player cannot enter a newly spawned door --- logic/MapGenerator.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'logic/MapGenerator.lua') diff --git a/logic/MapGenerator.lua b/logic/MapGenerator.lua index 095f2f3..cbf49b3 100644 --- a/logic/MapGenerator.lua +++ b/logic/MapGenerator.lua @@ -31,7 +31,7 @@ function mapGenerator.continue(roomCount, from) -- try extending from the last room local entranceDoor, exitDoor = room:connect(newMap[1]) - + G.BodyLifeCycleManager:create(entranceDoor, { entranceDoor.w, entranceDoor.h }, "static") if exitDoor then newMap[1]:removeDoor(exitDoor.location) end -- cgit v1.2.3