Don't add walls to crumbling rooms before lvl 4
This commit is contained in:
parent
c9fde8dde1
commit
7a59d15be0
|
@ -419,7 +419,7 @@ local function build_normal_room(room)
|
||||||
if not crumbling then
|
if not crumbling then
|
||||||
pitsAdded = layoutparser.add_pits_to_room(room)
|
pitsAdded = layoutparser.add_pits_to_room(room)
|
||||||
end
|
end
|
||||||
if not pitsAdded then
|
if not pitsAdded and (not crumbling or CURRENT_LEVEL > 3) then
|
||||||
interiorWallsAdded = layoutparser.add_walls_to_room(room)
|
interiorWallsAdded = layoutparser.add_walls_to_room(room)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue