[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
🆑
code: basicmobs that delete on death, ghost before dying
/🆑

* basicmobs that qdel on death ghost before qdel

---------

Co-authored-by: jimmyl <70376633+mc-oofert@users.noreply.github.com>
This commit is contained in:
SkyratBot
2023-10-12 14:10:13 -04:00
committed by GitHub
co-authored by jimmyl
parent e6fcccdcd5
commit 8fab5b6ccb
+1
View File
@@ -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