...and make it local.

This commit is contained in:
Vanessa Ezekowitz 2014-05-24 17:08:15 -04:00
parent 591a917e21
commit 753cb01234
1 changed files with 1 additions and 1 deletions

View File

@ -182,7 +182,7 @@ function plantslib:search_for_surfaces(minp, maxp, biomedef, node_or_function_or
minetest.remove_node(pos)
end
objtype = type(node_or_function_or_model)
local objtype = type(node_or_function_or_model)
if objtype == "table" then
plantslib:generate_tree(pos, node_or_function_or_model)