Merge pull request #12 from Rui914/patch-1

Localize modpath variable
This commit is contained in:
kilbith 2015-08-19 13:49:15 +02:00
commit 96efda3f2f

View File

@ -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")