forked from VoxeLibre/VoxeLibre
Force nolakes,nohills for flat mapgen
This commit is contained in:
parent
7a29d8580d
commit
b225ecf51f
|
@ -884,6 +884,7 @@ if mg_name == "v6" then
|
||||||
end
|
end
|
||||||
if mg_name == "flat" then
|
if mg_name == "flat" then
|
||||||
minetest.set_mapgen_setting("mg_flags", "nocaves,nodungeons,nodecorations,light", true)
|
minetest.set_mapgen_setting("mg_flags", "nocaves,nodungeons,nodecorations,light", true)
|
||||||
|
minetest.set_mapgen_setting("mgflat_spflags", "nolakes,nohills", true)
|
||||||
else
|
else
|
||||||
minetest.set_mapgen_setting("mg_flags", "caves,nodungeons,decorations,light", true)
|
minetest.set_mapgen_setting("mg_flags", "caves,nodungeons,decorations,light", true)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue