VM: Update liquids after writing to map

This commit is contained in:
Wuzzy 2017-09-11 16:26:15 +02:00
parent bc1e16fbc6
commit 27f3b9f3d9

View file

@ -1771,8 +1771,8 @@ minetest.register_on_generated(function(minp, maxp, seed)
if lvm_used then if lvm_used then
vm:set_data(data) vm:set_data(data)
vm:calc_lighting(nil, nil, shadow) vm:calc_lighting(nil, nil, shadow)
vm:update_liquids()
vm:write_to_map() vm:write_to_map()
vm:update_liquids()
end end
local biomemap = minetest.get_mapgen_object("biomemap") local biomemap = minetest.get_mapgen_object("biomemap")