Stop dungeon generation in underzones.

This commit is contained in:
Duane 2016-08-06 19:02:33 -05:00
parent f182dd902a
commit 678b025cb0
2 changed files with 3 additions and 3 deletions

View file

@ -455,7 +455,7 @@ local function generate(p_minp, p_maxp, seed)
end
end
if fun_caves.dungeon then
if not underzone and fun_caves.dungeon then
local write_dungeon, write_p4
write_dungeon, write_p4 = fun_caves.dungeon(minp, maxp, data, p2data, area, node, heightmap)
if write_dungeon then