diff options
Diffstat (limited to 'steles/init.lua')
-rw-r--r-- | steles/init.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/steles/init.lua b/steles/init.lua index a84a596..e5d2430 100644 --- a/steles/init.lua +++ b/steles/init.lua @@ -19,11 +19,11 @@ --]] steles = {} -steles.path = minetest.get_modpath("steles") +steles.name = minetest.get_current_modname() +steles.path = minetest.get_modpath(steles.name) -- Load support for intllib. -local MP = minetest.get_modpath(minetest.get_current_modname()) -local S, NS = dofile(MP.."/intllib.lua") +local S, NS = dofile(steles.path.."/intllib.lua") steles.intllib = S dofile(steles.path.."/config.lua") |