forked from VoxeLibre/VoxeLibre
VM: Update liquids after writing to map
This commit is contained in:
parent
bc1e16fbc6
commit
27f3b9f3d9
|
@ -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")
|
||||||
|
|
Reference in New Issue