From 7887d28e0816cb946ee73724545fad5ca1792203 Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Tue, 29 Oct 2013 14:08:23 -0400 Subject: make worldpath and modpath pipeworks-namespace-specific and global --- item_transport.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'item_transport.lua') 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) -- cgit v1.2.3