summaryrefslogtreecommitdiff
path: root/logic/MapGenerator.lua
diff options
context:
space:
mode:
Diffstat (limited to 'logic/MapGenerator.lua')
-rw-r--r--logic/MapGenerator.lua2
1 files changed, 1 insertions, 1 deletions
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