diff options
author | Pierre-Yves Rollo <dev@pyrollo.com> | 2017-08-26 14:12:38 +0200 |
---|---|---|
committer | Pierre-Yves Rollo <dev@pyrollo.com> | 2017-08-26 14:12:38 +0200 |
commit | c179f44ba481c73158fa72d658cbd9fed046dcdd (patch) | |
tree | 48513ec25683841fad77f51a48ce91f0f47deaf9 /signs/init.lua | |
parent | d59c475162da02695a85ebd92a44e53129aa8be3 (diff) |
Release 2017-08-26
Diffstat (limited to 'signs/init.lua')
-rw-r--r-- | signs/init.lua | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/signs/init.lua b/signs/init.lua index efa1b26..4f9239f 100644 --- a/signs/init.lua +++ b/signs/init.lua @@ -19,13 +19,18 @@ --]] signs = {} -signs.path = minetest.get_modpath("signs") +signs.name = minetest.get_current_modname() +signs.path = minetest.get_modpath(signs.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(signs.path.."/intllib.lua") signs.intllib = S dofile(signs.path.."/common.lua") dofile(signs.path.."/nodes.lua") dofile(signs.path.."/crafts.lua") +dofile(signs.path.."/compatibility.lua") + + + + |