Skip to content

Commit

Permalink
fix: allow airless chute flushing of small items (ParadiseSS13#26037)
Browse files Browse the repository at this point in the history
  • Loading branch information
warriorstar-orion authored Jul 1, 2024
1 parent 61f970b commit 87e6460
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions code/modules/recycling/sortingmachinery.dm
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,14 @@
/obj/machinery/disposal/deliveryChute/Bumped(atom/movable/AM) //Go straight into the chute
if(isprojectile(AM) || isAI(AM) || QDELETED(AM))
return

// We may already contain the object because thrown objects
// call CanPass which has a chance to immediately forceMove
// them into us.
if(AM.loc == src)
flush()
return

switch(dir)
if(NORTH)
if(AM.loc.y != loc.y + 1) return
Expand Down

0 comments on commit 87e6460

Please sign in to comment.