From dd6254369ddbbd4617f07f9d4a251b65e29cefa7 Mon Sep 17 00:00:00 2001 From: Rui Date: Wed, 19 Aug 2015 18:02:22 +0900 Subject: [PATCH] Localize modpath variable --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 81fb944..b4af0a9 100644 --- a/init.lua +++ b/init.lua @@ -1,5 +1,5 @@ xdecor = {} -modpath = minetest.get_modpath("xdecor") +local modpath = minetest.get_modpath("xdecor") dofile(modpath.."/handlers/nodeboxes.lua") dofile(modpath.."/handlers/registration.lua")