default settings have to be global or pipeworks can't see them

(duh!)  confined them to pipeworks.{} table.
This commit is contained in:
Vanessa Ezekowitz
2013-12-15 04:43:13 -05:00
parent 659b4e42b2
commit eabced6976
4 changed files with 33 additions and 33 deletions

View File

@ -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