Voxelmanip lighting bugfix

This commit is contained in:
paramat 2014-04-11 06:43:57 +01:00
parent 5470dd045d
commit 241379f792

View File

@ -604,8 +604,8 @@ minetest.register_on_generated(function(minp, maxp, seed)
end
-- voxelmanip stuff
vm:set_data(data)
vm:set_lighting({day=14, night=14})
--vm:calc_lighting()
vm:set_lighting({day=0, night=0})
vm:calc_lighting()
vm:write_to_map(data)
local chugent = math.ceil((os.clock() - t1) * 1000) -- chunk generation time