Skip to content
Snippets Groups Projects
Commit 54b11652 authored by Rogier's avatar Rogier
Browse files

Don't generate tree ferns without a trunk.

parent f91caae9
No related branches found
No related tags found
No related merge requests found
......@@ -22,6 +22,7 @@ abstract_ferns.grow_tree_fern = function(pos)
if (size > 5) then
size = 10 - size
end
size = size + 1
local crown = ({ "ferns:tree_fern_leaves", "ferns:tree_fern_leaves_02" })[math.random(1, 2)]
local i = 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment