summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--compat.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/compat.lua b/compat.lua
index 8c1e98e..3bf7d98 100644
--- a/compat.lua
+++ b/compat.lua
@@ -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