Skip to content

Commit

Permalink
Entering a pipe backwards will send you the way that you came
Browse files Browse the repository at this point in the history
  • Loading branch information
PowerfulBacon committed Aug 25, 2024
1 parent 7fb991f commit b75d1a4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion code/modules/recycling/disposal/pipe_sorting.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit b75d1a4

Please sign in to comment.