Removes gibbing animation (#19492)

* Removes gibbing animation

* small fix
This commit is contained in:
LynxSolstice
2022-11-02 20:47:03 +01:00
committed by GitHub
parent 85f4503d33
commit 1f6f48e99a
@@ -1,16 +1,10 @@
/mob/living/carbon/human/gib()
if(!death(TRUE) && stat != DEAD)
return FALSE
var/atom/movable/overlay/animation = null
notransform = TRUE
icon = null
invisibility = 101
if(!ismachineperson(src))
animation = new(loc)
animation.icon_state = "blank"
animation.icon = 'icons/mob/mob.dmi'
animation.master = src
playsound(src.loc, 'sound/goonstation/effects/gib.ogg', 50, 1)
else
playsound(src.loc, 'sound/goonstation/effects/robogib.ogg', 50, 1)
@@ -36,12 +30,10 @@
visible_message("<span class='danger'>[M] bursts out of [src]!</span>")
if(!ismachineperson(src))
flick("gibbed-h", animation)
hgibs(loc, dna)
else
new /obj/effect/decal/cleanable/blood/gibs/robot(loc)
do_sparks(3, 1, src)
QDEL_IN(animation, 15)
QDEL_IN(src, 0)
return TRUE