1
0
mirror of https://github.com/mt-mods/pipeworks.git synced 2025-06-30 15:20:34 +02:00

make worldpath and modpath pipeworks-namespace-specific and global

This commit is contained in:
Vanessa Ezekowitz
2013-10-29 14:08:23 -04:00
parent 3d19cca557
commit 7887d28e08
2 changed files with 22 additions and 22 deletions

View File

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