Force nolakes,nohills for flat mapgen

This commit is contained in:
Wuzzy 2017-07-02 21:50:09 +02:00
parent 7a29d8580d
commit b225ecf51f

View File

@ -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