From 500062ce12ce03e252f2a201012b424df70b6662 Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Thu, 20 Nov 2014 11:18:53 -0500 Subject: [PATCH] initialize bush_branch_type to 2 (it needs to be *something* at least) --- bushes/init.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bushes/init.lua b/bushes/init.lua index d92187b..99fa116 100644 --- a/bushes/init.lua +++ b/bushes/init.lua @@ -161,8 +161,7 @@ abstract_bushes.grow_bush_node = function(pos,dir, leaf_type) local right_here = {x=pos.x, y=pos.y+1, z=pos.z} local above_right_here = {x=pos.x, y=pos.y+2, z=pos.z} - --local bush_branch_type = math.random(1,3) - --local bush_branch_type = 2 + local bush_branch_type = 2 -- MM: I'm not sure if it's slower now than before... if dir ~= 5 and leaf_type == 1 then