From c8e8710b414cf7e1bfadc1aca644ac7b40a34d81 Mon Sep 17 00:00:00 2001 From: NanakoAC Date: Mon, 12 Jun 2017 23:22:13 +0100 Subject: [PATCH] Quick Nymph Runtime Fix (#2686) Adds a safety check to fix a runtime error with nymphs --- code/modules/mob/living/carbon/alien/diona/diona_nymph.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/mob/living/carbon/alien/diona/diona_nymph.dm b/code/modules/mob/living/carbon/alien/diona/diona_nymph.dm index b73bf3675cc..3f06aa1bbf2 100644 --- a/code/modules/mob/living/carbon/alien/diona/diona_nymph.dm +++ b/code/modules/mob/living/carbon/alien/diona/diona_nymph.dm @@ -190,7 +190,7 @@ //This is called periodically to register or remove this nymph's status as a bad organ of the gestalt //This is used to notify the gestalt when it needs repaired /mob/living/carbon/alien/diona/proc/check_status_as_organ() - if (istype(gestalt, /mob/living/carbon/human)) + if (istype(gestalt, /mob/living/carbon/human) && !QDELETED(gestalt)) var/mob/living/carbon/human/H = gestalt if (health < maxHealth)