local-ize a couple more variables
parent
500062ce12
commit
d6e9d0a46e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue