Do not generate decoration above rivers

master
Gael-de-Sailly 2018-02-21 23:03:06 +01:00
parent 0ec8729160
commit d8aabdeb63
1 changed files with 1 additions and 1 deletions

View File

@ -223,7 +223,7 @@ minetest.register_on_generated(function(minp, maxp, seed)
top = biome.top
nfiller = biome.filler_depth
ntop = biome.top_depth
if maxp.y >= h then -- Generate decoration
if maxp.y >= h and not river_here then -- Generate decoration
local deco, is_schem = choose_deco(biome.decos)
if deco then
if is_schem then