1
0
mirror of https://github.com/mt-mods/pipeworks.git synced 2025-06-29 23:00:49 +02:00

Namespace pollution cleanup (Used list at #154)

This commit is contained in:
ForbiddenJ
2017-04-04 02:25:27 -05:00
committed by Diego Martínez
parent 0639bb9706
commit 0056116148
8 changed files with 40 additions and 31 deletions

View File

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