Localize modpath variable

This commit is contained in:
Rui 2015-08-19 18:02:22 +09:00
parent 2d1eaad39b
commit dd6254369d

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