From: Vanessa Ezekowitz Date: Sat, 21 Dec 2013 08:26:47 +0000 (-0500) Subject: local-ize a couple of variables X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=3e02d5104ada52a3719642b13b0307eb9ba25ed3;p=zefram%2Fminetest%2Fpipeworks.git local-ize a couple of variables --- 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