Put sand into chests in sand-flooded pyramids

This commit is contained in:
Wuzzy
2019-08-20 03:14:39 +02:00
parent acc22a5576
commit fb6cbbea66
2 changed files with 19 additions and 11 deletions

View File

@ -635,7 +635,7 @@ function tsm_pyramids.make_room(pos, stype, room_id)
local filled = 0
while filled < 8 do
for c=1, #chests do
tsm_pyramids.fill_chest(chests[c])
tsm_pyramids.fill_chest(chests[c], stype, room.flood_sand ~= false)
filled = filled + 1
end
end