mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-07-19 04:08:55 +01:00
Fixes despawned TF items spitting out visible voice ghost mobs for all to see. (#6745)
This commit is contained in:
@@ -421,6 +421,9 @@
|
||||
items -= announce // or the autosay radio.
|
||||
|
||||
for(var/obj/item/W in items)
|
||||
if(islist(W.possessed_voice)) //CHOMPAdd
|
||||
for(var/mob/living/V in W.possessed_voice)
|
||||
despawn_occupant(V)
|
||||
//VOREStation Addition Start
|
||||
if(istype(W, /obj/item/device/pda))
|
||||
var/obj/item/device/pda/found_pda = W
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user