local-ize a couple more variables

master
Vanessa Ezekowitz 2014-11-20 11:48:57 -05:00
parent 500062ce12
commit d6e9d0a46e
1 changed files with 2 additions and 2 deletions

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