From 3d156a8edee9ec7f354cfb2244b889ee7de0651c Mon Sep 17 00:00:00 2001 From: crabman77 Date: Fri, 27 Feb 2015 21:51:12 +0100 Subject: [PATCH] Fixed global var error --- mods/plantlife_modpack/vines/functions.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/plantlife_modpack/vines/functions.lua b/mods/plantlife_modpack/vines/functions.lua index 5ffb3c91..972d5c47 100644 --- a/mods/plantlife_modpack/vines/functions.lua +++ b/mods/plantlife_modpack/vines/functions.lua @@ -94,7 +94,7 @@ vines.register_vine = function( name, defs, biome ) plantslib: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