summaryrefslogtreecommitdiff
path: root/routing_tubes.lua
diff options
context:
space:
mode:
authorForbiddenJ <justinscomputercreations@gmail.com>2017-04-04 02:25:27 -0500
committerDiego Martínez <kaeza@users.noreply.github.com>2017-04-04 05:27:37 -0300
commit00561161480e51632a0c546cf34fc62282c9fe06 (patch)
tree82b8343dbfe56cf436f0d884571696a3f4a7614a /routing_tubes.lua
parent0639bb970666cfc9ec56f848c6334263fccaaa9f (diff)
downloadpipeworks-00561161480e51632a0c546cf34fc62282c9fe06.tar
pipeworks-00561161480e51632a0c546cf34fc62282c9fe06.tar.gz
pipeworks-00561161480e51632a0c546cf34fc62282c9fe06.tar.bz2
pipeworks-00561161480e51632a0c546cf34fc62282c9fe06.tar.xz
pipeworks-00561161480e51632a0c546cf34fc62282c9fe06.zip
Namespace pollution cleanup (Used list at #154)
Diffstat (limited to 'routing_tubes.lua')
-rw-r--r--routing_tubes.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/routing_tubes.lua b/routing_tubes.lua
index 0a82fc8..f415c3e 100644
--- a/routing_tubes.lua
+++ b/routing_tubes.lua
@@ -101,7 +101,7 @@ if pipeworks.enable_one_way_tube then
return {velocity}
end,
can_insert = function(pos, node, stack, direction)
- local dir = minetest.facedir_to_right_dir(node.param2)
+ local dir = pipeworks.facedir_to_right_dir(node.param2)
return vector.equals(dir, direction)
end,
priority = 75 -- Higher than normal tubes, but lower than receivers