diff options
author | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2013-12-15 04:43:13 -0500 |
---|---|---|
committer | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2013-12-15 04:43:13 -0500 |
commit | eabced6976d18ff887a4ddd1ef0360e7217c0bb2 (patch) | |
tree | d542c1ae9d5ec45fb3efd902db47c2a140586002 /item_transport.lua | |
parent | 659b4e42b2bb6b55a4031554664b6f371f903f5e (diff) |
default settings have to be global or pipeworks can't see them
(duh!) confined them to pipeworks.{} table.
Diffstat (limited to 'item_transport.lua')
-rw-r--r-- | item_transport.lua | 4 |
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 |