From 3e02d5104ada52a3719642b13b0307eb9ba25ed3 Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Sat, 21 Dec 2013 03:26:47 -0500 Subject: [PATCH] local-ize a couple of variables --- compat.lua | 4 ++-- 1 file 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 -- 2.30.2