summaryrefslogtreecommitdiff
path: root/routing_tubes.lua
diff options
context:
space:
mode:
author12Me21 <12Me21.mc@gmail.com>2018-09-15 10:30:13 -0400
committer12Me21 <12Me21.mc@gmail.com>2018-09-15 10:30:13 -0400
commitd8ed6d3af41051c2d5a7fe3f71bc0005aa0fd39e (patch)
treea6a52e51eb2c1966b9e9e4cb57f891bd682d7ac4 /routing_tubes.lua
parenta69c210b569df7b659a3fd4fe6f5a414b3d1282c (diff)
downloadpipeworks-d8ed6d3af41051c2d5a7fe3f71bc0005aa0fd39e.tar
pipeworks-d8ed6d3af41051c2d5a7fe3f71bc0005aa0fd39e.tar.gz
pipeworks-d8ed6d3af41051c2d5a7fe3f71bc0005aa0fd39e.tar.bz2
pipeworks-d8ed6d3af41051c2d5a7fe3f71bc0005aa0fd39e.tar.xz
pipeworks-d8ed6d3af41051c2d5a7fe3f71bc0005aa0fd39e.zip
Tubes now update their connections when rotated with the screwdriver.
Diffstat (limited to 'routing_tubes.lua')
-rw-r--r--routing_tubes.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/routing_tubes.lua b/routing_tubes.lua
index ba9e0aa..e2f1af4 100644
--- a/routing_tubes.lua
+++ b/routing_tubes.lua
@@ -161,6 +161,7 @@ if pipeworks.enable_one_way_tube then
},
after_place_node = pipeworks.after_place,
after_dig_node = pipeworks.after_dig,
+ on_rotate = pipeworks.on_rotate,
})
minetest.register_craft({
output = "pipeworks:one_way_tube 2",