fix lighting bug in mapgen

Removes hard black edges appearing at emerge boundaries.
This commit is contained in:
Treer 2020-06-05 19:32:14 +10:00
parent 0e26770830
commit 86105b4eb8

View File

@ -188,7 +188,7 @@ minetest.register_on_generated(function(minp, maxp, seed)
end
vm:set_data(data)
vm:set_lighting({day = 0, night = 0})
vm:set_lighting({day = 0, night = 0}, minp, maxp)
vm:calc_lighting()
vm:update_liquids()
vm:write_to_map()