summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2013-12-21 03:26:47 -0500
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2013-12-21 03:26:47 -0500
commit3e02d5104ada52a3719642b13b0307eb9ba25ed3 (patch)
tree6e54ad3dbdb39d854d76b7d46e11f5080f8d1546
parent9f3b2f1323f7c520d70239d58a54e31d531d1c12 (diff)
downloadpipeworks-3e02d5104ada52a3719642b13b0307eb9ba25ed3.tar
pipeworks-3e02d5104ada52a3719642b13b0307eb9ba25ed3.tar.gz
pipeworks-3e02d5104ada52a3719642b13b0307eb9ba25ed3.tar.bz2
pipeworks-3e02d5104ada52a3719642b13b0307eb9ba25ed3.tar.xz
pipeworks-3e02d5104ada52a3719642b13b0307eb9ba25ed3.zip
local-ize a couple of variables
-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