mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-16 01:23:41 +01:00
fix: allow airless chute flushing of small items (#26037)
This commit is contained in:
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
|
||||
|
||||
Reference in New Issue
Block a user