From e79ce41f24041a3ae426413e67532cab6994b3a3 Mon Sep 17 00:00:00 2001 From: silicons <2003111+silicons@users.noreply.github.com> Date: Sun, 13 Dec 2020 16:41:01 -0700 Subject: [PATCH] Update code/modules/mob/living/death.dm Co-authored-by: DeltaFire <46569814+DeltaFire15@users.noreply.github.com> --- code/modules/mob/living/death.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/mob/living/death.dm b/code/modules/mob/living/death.dm index f0caa63a1a..24e91f6051 100644 --- a/code/modules/mob/living/death.dm +++ b/code/modules/mob/living/death.dm @@ -66,7 +66,7 @@ GLOB.alive_mob_list -= src if(!gibbed) GLOB.dead_mob_list += src - if(mind.key) + if(mind?.key) var/datum/preferences/P = GLOB.preferences_datums[ckey(mind.key)] if(P) P.respawn_time_of_death = world.time