Remove pointless double lighting update

master
Wuzzy 2019-03-12 07:15:27 +01:00
parent 6f56d392dc
commit bca62509f1
1 changed files with 0 additions and 6 deletions

View File

@ -377,12 +377,6 @@ minetest.register_on_generated(function(minp, maxp, seed)
vm:calc_lighting(nil, nil, false)
vm:write_to_map()
tutorial.save_state()
-- Update the lgihting of the sector below as well
minp.y = minp.y - tutorial.sector_size
local vm = minetest.get_voxel_manip(minp, maxp)
vm:calc_lighting(nil, nil, false)
vm:write_to_map()
vm:update_map()
end
end)