summaryrefslogtreecommitdiff
path: root/item_transport.lua
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2013-10-29 14:08:23 -0400
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2013-10-29 14:08:23 -0400
commit7887d28e0816cb946ee73724545fad5ca1792203 (patch)
tree87d6ac9c1b2a3d39bb9c3bc201b291dbcb10ae82 /item_transport.lua
parent3d19cca557b3f0f176412dada60a98d256687438 (diff)
downloadpipeworks-7887d28e0816cb946ee73724545fad5ca1792203.tar
pipeworks-7887d28e0816cb946ee73724545fad5ca1792203.tar.gz
pipeworks-7887d28e0816cb946ee73724545fad5ca1792203.tar.bz2
pipeworks-7887d28e0816cb946ee73724545fad5ca1792203.tar.xz
pipeworks-7887d28e0816cb946ee73724545fad5ca1792203.zip
make worldpath and modpath pipeworks-namespace-specific and global
Diffstat (limited to 'item_transport.lua')
-rw-r--r--item_transport.lua4
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)