Skip to content

Commit 7a59d15

Browse files
committed
Don't add walls to crumbling rooms before lvl 4
1 parent c9fde8d commit 7a59d15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

data/maproombuilder.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ local function build_normal_room(room)
419419
if not crumbling then
420420
pitsAdded = layoutparser.add_pits_to_room(room)
421421
end
422-
if not pitsAdded then
422+
if not pitsAdded and (not crumbling or CURRENT_LEVEL > 3) then
423423
interiorWallsAdded = layoutparser.add_walls_to_room(room)
424424
end
425425

0 commit comments

Comments
 (0)