fix: allow airless chute flushing of small items (#26037)

This commit is contained in:
warriorstar-orion
2024-07-01 14:55:57 -04:00
committed by GitHub
parent 61f970b7ce
commit 87e6460c58
@@ -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