From b75d1a4abf202111128ca484e7d4c0ce20845124 Mon Sep 17 00:00:00 2001 From: PowerfulBacon <26465327+PowerfulBacon@users.noreply.github.com> Date: Sun, 25 Aug 2024 16:45:56 +0100 Subject: [PATCH] Entering a pipe backwards will send you the way that you came --- code/modules/recycling/disposal/pipe_sorting.dm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/code/modules/recycling/disposal/pipe_sorting.dm b/code/modules/recycling/disposal/pipe_sorting.dm index 85c5b26b8a2af..2a85ae8f0efbe 100644 --- a/code/modules/recycling/disposal/pipe_sorting.dm +++ b/code/modules/recycling/disposal/pipe_sorting.dm @@ -16,7 +16,9 @@ H.unsorted = FALSE // exit through sortdirection return sortdir - + // If we are entering backwards, continue onwards + if (H.dir == turn(input_direction, 180)) + return H.dir // go with the flow to positive direction return dir