[MIRROR] Disposals delete remains (#11937)

Co-authored-by: SatinIsle <98125273+SatinIsle@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-11-07 23:43:34 +01:00
committed by GitHub
co-authored by SatinIsle
parent 50abe26950
commit 930699eff6
@@ -380,6 +380,11 @@
if(flushing)
return
// We don't ever want digestion remains going through disposals, but people understandably thing they're doing right by trashing them
// So let's just delete them instead!
for(var/obj/item/digestion_remains/flushed_item in src)
qdel(flushed_item)
flushing = TRUE
flick("[icon_state]-flush", src)
// wait for animation to finish