summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--technic/machines/register/common.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/technic/machines/register/common.lua b/technic/machines/register/common.lua
index 0dcdbe1..f21303f 100644
--- a/technic/machines/register/common.lua
+++ b/technic/machines/register/common.lua
@@ -132,9 +132,10 @@ function technic.handle_machine_pipeworks(pos, tube_upgrade, send_function)
-- The machines shall always eject items to the right side
-- This will be easy to remember, since the destination inventory is always on the right as well
- if node.param2 == 3 then pos1.z = pos1.z - 1 z_velocity = 1 end
+
+ if node.param2 == 3 then pos1.z = pos1.z + 1 z_velocity = 1 end
if node.param2 == 2 then pos1.x = pos1.x - 1 x_velocity = -1 end
- if node.param2 == 1 then pos1.z = pos1.z + 1 z_velocity = -1 end
+ if node.param2 == 1 then pos1.z = pos1.z - 1 z_velocity = -1 end
if node.param2 == 0 then pos1.x = pos1.x + 1 x_velocity = 1 end