From 865f108f36d4d2c2a68e6985fe9824f1a62a399c Mon Sep 17 00:00:00 2001 From: Nick Name <1Nick1Name@users.noreply.github.com> Date: Sat, 15 Aug 2015 11:24:52 +0200 Subject: [PATCH] Added missing local. --- vines/functions.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vines/functions.lua b/vines/functions.lua index 3ac3ff7..d321aec 100644 --- a/vines/functions.lua +++ b/vines/functions.lua @@ -94,7 +94,7 @@ vines.register_vine = function( name, defs, biome ) biome_lib:spawn_on_surfaces( biome ) local override_nodes = function( nodes, defs ) - function override( index, registered ) + local function override( index, registered ) local node = nodes[ index ] if index > #nodes then return registered end if minetest.registered_nodes[node] then