summaryrefslogtreecommitdiff
path: root/routing_tubes.lua
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2015-02-07 02:45:17 -0500
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2015-02-07 02:45:17 -0500
commit364633d884fa2420ab13f5444e06fb418e61d5c2 (patch)
tree113239b12b575367cb918f433d985d2e6138eb23 /routing_tubes.lua
parente33b662274982bf6be8213975675407633d5d92e (diff)
downloadpipeworks-364633d884fa2420ab13f5444e06fb418e61d5c2.tar
pipeworks-364633d884fa2420ab13f5444e06fb418e61d5c2.tar.gz
pipeworks-364633d884fa2420ab13f5444e06fb418e61d5c2.tar.bz2
pipeworks-364633d884fa2420ab13f5444e06fb418e61d5c2.tar.xz
pipeworks-364633d884fa2420ab13f5444e06fb418e61d5c2.zip
make all tubes call the routing functions
using their after_place/after_dig callbacks
Diffstat (limited to 'routing_tubes.lua')
-rw-r--r--routing_tubes.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/routing_tubes.lua b/routing_tubes.lua
index 000c6ee..8620d20 100644
--- a/routing_tubes.lua
+++ b/routing_tubes.lua
@@ -105,6 +105,8 @@ if pipeworks.enable_one_way_tube then
end,
priority = 75 -- Higher than normal tubes, but lower than receivers
},
+ after_place_node = pipeworks.after_place,
+ after_dig_node = pipeworks.after_dig,
})
minetest.register_craft({
output = "pipeworks:one_way_tube 2",