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