fix copy&paste error

This commit is contained in:
Vanessa Ezekowitz 2015-02-17 14:37:49 -05:00
parent 36eea79c4d
commit 4193ffe206
1 changed files with 1 additions and 1 deletions

View File

@ -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