diff --git a/trunks/generating.lua b/trunks/generating.lua index 6b5b897..7796213 100644 --- a/trunks/generating.lua +++ b/trunks/generating.lua @@ -1,8 +1,8 @@ -- Code by Mossmanikin, Neuromancer, and others local function 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