Fixes despawned TF items spitting out visible voice ghost mobs for all to see. (#6745)

This commit is contained in:
Verkister
2023-08-07 15:43:35 +03:00
committed by GitHub
parent dc60029317
commit 2ff89d38d5
2 changed files with 4 additions and 1 deletions

View File

@@ -66,7 +66,7 @@
for(var/atom/movable/A in affecting)
if(!isobj(A) && !isliving(A))
continue
if(istype(A, /obj/effect/decal/cleanable))
if(istype(A, /obj/effect/decal/cleanable) || istype(A, /mob/living/voice))
qdel(A)
if(!A.anchored)
if(A.loc == src.loc)