From 8fab5b6ccb4efcd7f7755e32dfba3c59a67dece8 Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Thu, 12 Oct 2023 20:10:13 +0200 Subject: [PATCH] [MIRROR] basicmobs that qdel on death ghost before qdel [MDB IGNORE] (#24297) * 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: * basicmobs that qdel on death ghost before qdel --------- Co-authored-by: jimmyl <70376633+mc-oofert@users.noreply.github.com> --- 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