From 4193ffe2069dd3cf02f8db67cd649a21670cd789 Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Tue, 17 Feb 2015 14:37:49 -0500 Subject: [PATCH] fix copy&paste error --- plants_lib/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plants_lib/init.lua b/plants_lib/init.lua index d41b52b..fc7bf17 100644 --- a/plants_lib/init.lua +++ b/plants_lib/init.lua @@ -555,7 +555,7 @@ function plantslib:grow_plants(opts) local root_node = minetest.get_node({x=pos.x, y=pos.y-options.height_limit, z=pos.z}) local walldir = nil if options.need_wall and options.verticals_list then - walldir = plantslib:find_adjacent_wall(p_top, options.verticals_list, biome.choose_random_wall) + walldir = plantslib:find_adjacent_wall(p_top, options.verticals_list, options.choose_random_wall) end if n_top.name == "air" and (not options.need_wall or (options.need_wall and walldir)) then