Update code/modules/mob/living/death.dm

Co-authored-by: DeltaFire <46569814+DeltaFire15@users.noreply.github.com>
This commit is contained in:
silicons
2020-12-13 16:41:01 -07:00
committed by GitHub
parent 99709a1a35
commit e79ce41f24
+1 -1
View File
@@ -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