summaryrefslogtreecommitdiff
path: root/item_transport.lua
diff options
context:
space:
mode:
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)