From 27f3b9f3d9dc040f9330076d67ee930df35f093f Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Mon, 11 Sep 2017 16:26:15 +0200 Subject: [PATCH] VM: Update liquids after writing to map --- mods/MAPGEN/mcl_mapgen_core/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/MAPGEN/mcl_mapgen_core/init.lua b/mods/MAPGEN/mcl_mapgen_core/init.lua index f8b5795aa5..b4c034622e 100644 --- a/mods/MAPGEN/mcl_mapgen_core/init.lua +++ b/mods/MAPGEN/mcl_mapgen_core/init.lua @@ -1771,8 +1771,8 @@ minetest.register_on_generated(function(minp, maxp, seed) if lvm_used then vm:set_data(data) vm:calc_lighting(nil, nil, shadow) - vm:update_liquids() vm:write_to_map() + vm:update_liquids() end local biomemap = minetest.get_mapgen_object("biomemap")