mirror of
https://github.com/FaceDeer/dfcaverns.git
synced 2024-11-14 14:40:29 +01:00
prevent a crash when noise doesn't extend far enough outside the emerged area
This commit is contained in:
parent
a44f3273ca
commit
9477afdd81
|
@ -455,8 +455,8 @@ minetest.register_on_generated(function(minp, maxp, seed)
|
|||
end
|
||||
|
||||
-- buildings
|
||||
for x = emin.x + 5, emax.x - 5 do
|
||||
for z = emin.z + 5, emax.z - 5 do
|
||||
for x = minp.x + 5, maxp.x - 5 do
|
||||
for z = minp.z + 5, maxp.z - 5 do
|
||||
|
||||
local skip = false
|
||||
if pit and
|
||||
|
|
Loading…
Reference in New Issue
Block a user