diff options
Diffstat (limited to 'pipes.lua')
-rw-r--r-- | pipes.lua | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -82,7 +82,10 @@ for index, connects in ipairs(cconnects) do after_dig_node = function(pos) pipeworks.scan_for_pipe_objects(pos) end, - on_rotate = false + on_rotate = false, + check_for_pole = pipeworks.check_for_vert_pipe, + check_for_horiz_pole = pipeworks.check_for_horiz_pipe, + pipenumber = index }) local pgroups = {snappy = 3, pipe = 1, not_in_creative_inventory = 1} @@ -114,7 +117,10 @@ for index, connects in ipairs(cconnects) do after_dig_node = function(pos) pipeworks.scan_for_pipe_objects(pos) end, - on_rotate = false + on_rotate = false, + check_for_pole = pipeworks.check_for_vert_pipe, + check_for_horiz_pole = pipeworks.check_for_horiz_pipe, + pipenumber = index }) local emptypipe = "pipeworks:pipe_"..index.."_empty" |