Fixed top node not appearing when there is no filler node

master
Gael-de-Sailly 2018-02-21 01:19:52 +01:00
parent 0a2ecc1634
commit 90114cf5fd
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ for _, biome_raw in ipairs(biomelist) do
biome.filler = id(fill[1])
biome.filler_depth = tonumber(fill[2] or 1) + biome.top_depth -- Depth is cumulative
else
biome.filler_depth = 0
biome.filler_depth = biome.top_depth
end
if stone and #stone > 0 then
biome.stone = id(stone)