diff options
author | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2013-10-29 14:08:23 -0400 |
---|---|---|
committer | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2013-10-29 14:08:23 -0400 |
commit | 7887d28e0816cb946ee73724545fad5ca1792203 (patch) | |
tree | 87d6ac9c1b2a3d39bb9c3bc201b291dbcb10ae82 /item_transport.lua | |
parent | 3d19cca557b3f0f176412dada60a98d256687438 (diff) |
make worldpath and modpath pipeworks-namespace-specific and global
Diffstat (limited to 'item_transport.lua')
-rw-r--r-- | item_transport.lua | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/item_transport.lua b/item_transport.lua index 3e7ff0a..6990907 100644 --- a/item_transport.lua +++ b/item_transport.lua @@ -1,6 +1,4 @@ -modpath=minetest.get_modpath("pipeworks") - -dofile(modpath.."/compat.lua") +dofile(pipeworks.modpath.."/compat.lua") --define the functions from https://github.com/minetest/minetest/pull/834 while waiting for the devs to notice it local function dir_to_facedir(dir, is6d) |