forked from mtcontrib/plantlife_modpack
local-ize a couple more variables
This commit is contained in:
parent
500062ce12
commit
d6e9d0a46e
@ -1,8 +1,8 @@
|
|||||||
-- Code by Mossmanikin, Neuromancer, and others
|
-- Code by Mossmanikin, Neuromancer, and others
|
||||||
|
|
||||||
local function clone_node(name)
|
local function clone_node(name)
|
||||||
node2={}
|
local node2 = {}
|
||||||
node=minetest.registered_nodes[name]
|
local node = minetest.registered_nodes[name]
|
||||||
for k,v in pairs(node) do
|
for k,v in pairs(node) do
|
||||||
node2[k]=v
|
node2[k]=v
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user