projects
/
zefram
/
minetest
/
pipeworks.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f3b2f1
)
local-ize a couple of variables
author
Vanessa Ezekowitz
<vanessaezekowitz@gmail.com>
Sat, 21 Dec 2013 08:26:47 +0000
(
03:26
-0500)
committer
Vanessa Ezekowitz
<vanessaezekowitz@gmail.com>
Sat, 21 Dec 2013 08:26:47 +0000
(
03:26
-0500)
compat.lua
patch
|
blob
|
history
diff --git
a/compat.lua
b/compat.lua
index 8c1e98e5ea07f14fddcfb1d04a43717b375e4e8f..3bf7d98d36bf68a402540d47c6fdec732836f046 100644
(file)
--- 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