From 87e6460c586597ee73976446b3a3035d6b0af4e5 Mon Sep 17 00:00:00 2001 From: warriorstar-orion Date: Mon, 1 Jul 2024 14:55:57 -0400 Subject: [PATCH] fix: allow airless chute flushing of small items (#26037) --- code/modules/recycling/sortingmachinery.dm | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/code/modules/recycling/sortingmachinery.dm b/code/modules/recycling/sortingmachinery.dm index 8fae073f154..5e9f2d3ff23 100644 --- a/code/modules/recycling/sortingmachinery.dm +++ b/code/modules/recycling/sortingmachinery.dm @@ -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