forked from mtcontrib/pipeworks
local-ize a couple of variables
This commit is contained in:
parent
9f3b2f1323
commit
3e02d5104a
|
@ -2,8 +2,8 @@
|
||||||
-- with pipeworks.
|
-- with pipeworks.
|
||||||
|
|
||||||
function pipeworks:clone_node(name)
|
function pipeworks:clone_node(name)
|
||||||
node2={}
|
local node2={}
|
||||||
node=minetest.registered_nodes[name]
|
local node=minetest.registered_nodes[name]
|
||||||
for k,v in pairs(node) do
|
for k,v in pairs(node) do
|
||||||
node2[k]=v
|
node2[k]=v
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue
Block a user