Adds a new hud icon for non-DNR bodies with clients (#22786)

* bam, new hud

* umm, maybe

* dmi change
This commit is contained in:
Contrabang
2023-10-14 20:44:20 +02:00
committed by GitHub
parent f8f3126ba7
commit 4a7019f919
5 changed files with 21 additions and 10 deletions
@@ -4,6 +4,9 @@
ghostimage.icon_state = src.icon_state
updateghostimages()
if(mind?.current)
mind.current.med_hud_set_status()
if(GLOB.non_respawnable_keys[ckey])
can_reenter_corpse = 0
REMOVE_TRAIT(src, TRAIT_RESPAWNABLE, GHOSTED)
@@ -5,3 +5,5 @@
spawn(0)
if(src && !key) //we've transferred to another mob. This ghost should be deleted.
qdel(src)
if(mind?.current)
mind.current.med_hud_set_status()