Fixed issue in simple mapgen depends.txt

This commit is contained in:
evrooije 2018-07-17 23:35:05 +02:00
parent 18f6b8f3cc
commit d6d827849d
2 changed files with 5 additions and 1 deletions

View File

@ -77,6 +77,10 @@ minetest.register_on_generated(function(minp, maxp)
multi_map.set_current_layer(minp.y)
local sidelen = maxp.x - minp.x + 1
if multi_map.current_layer >= multi_map.number_of_layers then
return
end
local offset_minp = { x = minp.x, y = multi_map.get_offset_y(minp.y), z = minp.z }
local offset_maxp = { x = maxp.x, y = multi_map.get_offset_y(maxp.y), z = maxp.z }

View File

@ -1 +1 @@
multi_map
multi_map_core