From eabced6976d18ff887a4ddd1ef0360e7217c0bb2 Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Sun, 15 Dec 2013 04:43:13 -0500 Subject: default settings have to be global or pipeworks can't see them (duh!) confined them to pipeworks.{} table. --- item_transport.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'item_transport.lua') 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 -- cgit v1.2.3