Don't add walls to crumbling rooms before lvl 4

This commit is contained in:
Linus Probert 2019-03-24 12:13:38 +01:00
parent c9fde8dde1
commit 7a59d15be0
1 changed files with 1 additions and 1 deletions

View File

@ -419,7 +419,7 @@ local function build_normal_room(room)
if not crumbling then
pitsAdded = layoutparser.add_pits_to_room(room)
end
if not pitsAdded then
if not pitsAdded and (not crumbling or CURRENT_LEVEL > 3) then
interiorWallsAdded = layoutparser.add_walls_to_room(room)
end