make worldpath and modpath pipeworks-namespace-specific and global

Этот коммит содержится в:
Vanessa Ezekowitz
2013-10-29 14:08:23 -04:00
родитель 3d19cca557
Коммит 7887d28e08
2 изменённых файлов: 22 добавлений и 22 удалений

Просмотреть файл

@@ -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)