summaryrefslogtreecommitdiff
path: root/item_transport.lua
diff options
context:
space:
mode:
Diffstat (limited to 'item_transport.lua')
-rw-r--r--item_transport.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/item_transport.lua b/item_transport.lua
index 76eeb56..632919a 100644
--- a/item_transport.lua
+++ b/item_transport.lua
@@ -471,7 +471,7 @@ function go_next(pos,velocity,stack)
break
end
until false
- if CYCLIC then
+ if pipeworks.enable_cyclic_mode then
meta:set_int("tubedir",n)
end
velocity.x=tubes[n].vect.x*vel.speed
@@ -492,7 +492,7 @@ function go_next(pos,velocity,stack)
break
end
until false
- if CYCLIC then
+ if pipeworks.enable_cyclic_mode then
meta:set_int("tubedir",n)
end
velocity.x=chests[n].vect.x*speed