REALLY generate dirt all the way down

master
Wuzzy 2019-03-14 10:49:55 +01:00
parent 9b0f96e2ac
commit f62d3b8521
1 changed files with 1 additions and 1 deletions

View File

@ -347,7 +347,7 @@ minetest.register_on_generated(function(minp, maxp, seed)
-- Generate a flat grass land and a dirt-only underground for the rest of the map
if map_editing ~= true then
local grasslev = 0
if minp.y <= grasslev and maxp.y >= grasslev then
if minp.y <= grasslev then
local vdata = vm:get_data(vbuffer)
local area = VoxelArea:new({MinEdge=emin, MaxEdge=emax})
for x = minp.x, maxp.x do