local-ize a couple of variables

This commit is contained in:
Vanessa Ezekowitz 2013-12-21 03:26:47 -05:00
parent 9f3b2f1323
commit 3e02d5104a

View File

@ -2,8 +2,8 @@
-- with pipeworks.
function pipeworks:clone_node(name)
node2={}
node=minetest.registered_nodes[name]
local node2={}
local node=minetest.registered_nodes[name]
for k,v in pairs(node) do
node2[k]=v
end