local-ize a couple more variables

This commit is contained in:
Vanessa Ezekowitz 2014-11-20 11:48:57 -05:00
parent 500062ce12
commit d6e9d0a46e

View File

@ -1,8 +1,8 @@
-- Code by Mossmanikin, Neuromancer, and others
local function 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