mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-25 06:07:22 +01:00
[MIRROR] Disposals delete remains (#11937)
Co-authored-by: SatinIsle <98125273+SatinIsle@users.noreply.github.com>
This commit is contained in:
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
|
||||
|
||||
Reference in New Issue
Block a user