Fix the mapgen not being set to singlenode
This commit is contained in:
parent
897726c1cc
commit
d841101dc4
@ -1,6 +1,7 @@
|
||||
mgparams = {mgname="singlenode"}
|
||||
minetest.register_on_mapgen_init(function(mgparams)
|
||||
minetest.set_mapgen_params(mgparams)
|
||||
minetest.register_on_mapgen_init(function(params)
|
||||
minetest.set_mapgen_params({
|
||||
mgname = "singlenode",
|
||||
})
|
||||
end)
|
||||
|
||||
-- 2D noise for wave
|
||||
@ -116,4 +117,4 @@ minetest.register_on_generated(function(minp, maxp, seed)
|
||||
vm:set_lighting({day=0, night=0})
|
||||
vm:calc_lighting()
|
||||
vm:write_to_map(data)
|
||||
end)
|
||||
end)
|
||||
|
Loading…
x
Reference in New Issue
Block a user