Skip to content
Snippets Groups Projects
Commit 753cb012 authored by Vanessa Ezekowitz's avatar Vanessa Ezekowitz
Browse files

...and make it local.

parent 591a917e
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
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