Merge pull request #2 from Rogier-5/fix-tree-spawn-level

Fix trees not spawning on top of surface
This commit is contained in:
Vanessa Ezekowitz 2016-07-02 20:59:39 -04:00 committed by GitHub
commit 1dbf5c4b3f
1 changed files with 1 additions and 1 deletions

View File

@ -289,7 +289,7 @@ function biome_lib:populate_surfaces(biome, nodes_or_function_or_model, snodes,
if objtype == "table" then
if nodes_or_function_or_model.axiom then
biome_lib:generate_tree(pos, nodes_or_function_or_model)
biome_lib:generate_tree(p_top, nodes_or_function_or_model)
spawned = true
else
local fdir = nil