From 1f6f48e99a150ae3609e3fae85c2a2309fe8acb1 Mon Sep 17 00:00:00 2001 From: LynxSolstice <112824777+LynxSolstice@users.noreply.github.com> Date: Wed, 2 Nov 2022 15:47:03 -0400 Subject: [PATCH] Removes gibbing animation (#19492) * Removes gibbing animation * small fix --- code/modules/mob/living/carbon/human/death.dm | 8 -------- 1 file changed, 8 deletions(-) diff --git a/code/modules/mob/living/carbon/human/death.dm b/code/modules/mob/living/carbon/human/death.dm index e22b61cc310..48b0ffe8093 100644 --- a/code/modules/mob/living/carbon/human/death.dm +++ b/code/modules/mob/living/carbon/human/death.dm @@ -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("[M] bursts out of [src]!") 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