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.
|
||||
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue
Block a user