From 9644fcbc080ea7dde011b44937590d465af29cb7 Mon Sep 17 00:00:00 2001 From: jimmyl <70376633+mc-oofert@users.noreply.github.com> Date: Thu, 12 Oct 2023 18:57:35 +0200 Subject: [PATCH] basicmobs that qdel on death ghost before qdel (#78931) ## About The Pull Request ![image](https://github.com/tgstation/tgstation/assets/70376633/737577c5-b45c-4dfb-8b6c-7a106cd2156a) ## Why It's Good For The Game its faster i think ## Changelog :cl: code: basicmobs that delete on death, ghost before dying /:cl: --- code/modules/mob/living/basic/basic.dm | 1 + 1 file changed, 1 insertion(+) diff --git a/code/modules/mob/living/basic/basic.dm b/code/modules/mob/living/basic/basic.dm index 4802ef347a0..4ad94270837 100644 --- a/code/modules/mob/living/basic/basic.dm +++ b/code/modules/mob/living/basic/basic.dm @@ -148,6 +148,7 @@ /mob/living/basic/death(gibbed) . = ..() if(basic_mob_flags & DEL_ON_DEATH) + ghostize(can_reenter_corpse = FALSE) qdel(src) else health = 0