aboutsummaryrefslogtreecommitdiff
path: root/data/mods/default
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-11-26 15:53:52 +0200
committerPerttu Ahola <celeron55@gmail.com>2011-11-29 19:13:54 +0200
commitb2ccbdffc1d85e320ef55c8994fae022dcef96f8 (patch)
tree7564bbd4e4af4a1b35096cc0a39ab084d720c158 /data/mods/default
parent769cc9879f306055e683bf720b0877a364e82ba5 (diff)
downloadminetest-b2ccbdffc1d85e320ef55c8994fae022dcef96f8.tar.gz
minetest-b2ccbdffc1d85e320ef55c8994fae022dcef96f8.tar.bz2
minetest-b2ccbdffc1d85e320ef55c8994fae022dcef96f8.zip
Make map generator as much threaded as possible (not much benefit with current generator because of small generator chunk size (a single MapBlock))
Diffstat (limited to 'data/mods/default')
-rw-r--r--data/mods/default/init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/mods/default/init.lua b/data/mods/default/init.lua
index 6ea15b4ee..520fbddf1 100644
--- a/data/mods/default/init.lua
+++ b/data/mods/default/init.lua
@@ -1331,7 +1331,7 @@ minetest.register_on_respawnplayer(function(player)
end)
minetest.register_on_generated(function(minp, maxp)
- --print("on_generated: minp="..dump(minp).." maxp="..dump(maxp))
+ print("on_generated: minp="..dump(minp).." maxp="..dump(maxp))
--cp = {x=(minp.x+maxp.x)/2, y=(minp.y+maxp.y)/2, z=(minp.z+maxp.z)/2}
--minetest.env:add_node(cp, {name="sand"})
end)