Fix a few small runtimes (#49352)

Nothing special here, mostly sanity.
Defib hud is awful, needs rewrite.
This commit is contained in:
AnturK
2020-02-16 00:40:11 -08:00
committed by GitHub
parent a6762e9eb8
commit e3fca45a78
7 changed files with 19 additions and 16 deletions
+2 -3
View File
@@ -154,9 +154,8 @@ GLOBAL_VAR_INIT(observer_default_invisibility, INVISIBILITY_OBSERVER)
/mob/dead/observer/Destroy()
// Update our old body's medhud since we're abandoning it
if(mind)
var/mob/living/carbon/current = mind.current
current.med_hud_set_status()
if(mind && mind.current)
mind.current.med_hud_set_status()
GLOB.ghost_images_default -= ghostimage_default
QDEL_NULL(ghostimage_default)