diff options
author | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2013-12-21 03:26:47 -0500 |
---|---|---|
committer | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2013-12-21 03:26:47 -0500 |
commit | 3e02d5104ada52a3719642b13b0307eb9ba25ed3 (patch) | |
tree | 6e54ad3dbdb39d854d76b7d46e11f5080f8d1546 | |
parent | 9f3b2f1323f7c520d70239d58a54e31d531d1c12 (diff) | |
download | pipeworks-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.lua | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |