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
/🆑
This commit is contained in:
jimmyl
2023-10-12 18:57:35 +02:00
committed by GitHub
parent ff4a5aef19
commit 9644fcbc08
+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