Use 'vm:write_to_map()' without incorrect 'data' argument

This commit is contained in:
paramat 2018-03-18 03:56:36 +00:00
parent 68d547e006
commit 40fd390c32

View File

@ -125,7 +125,7 @@ minetest.register_on_generated(function(minp, maxp, seed)
-- Calculate lighting for what has been created. -- Calculate lighting for what has been created.
vm:calc_lighting() vm:calc_lighting()
-- Write what has been created to the world. -- Write what has been created to the world.
vm:write_to_map(data) vm:write_to_map()
-- Liquid nodes were placed so set them flowing. -- Liquid nodes were placed so set them flowing.
vm:update_liquids() vm:update_liquids()