diff --git a/code/modules/mob/dead/observer/observer_vr.dm b/code/modules/mob/dead/observer/observer_vr.dm index 9b7566dd73..1c1c3772c6 100644 --- a/code/modules/mob/dead/observer/observer_vr.dm +++ b/code/modules/mob/dead/observer/observer_vr.dm @@ -63,17 +63,17 @@ set desc = "If your past-due backup notification was missed or ignored, you can use this to send a new one." var/record_found = FALSE - for(var/datum/transhuman/mind_record/record in SStranscore.backed_up) - if(record.ckey == ckey) - record_found = TRUE - if(!(record.dead_state == MR_DEAD)) - to_chat(src, "Your backup is not past-due yet.") - else if((world.time - record.last_notification) < 10 MINUTES) - to_chat(src, "Too little time has passed since your last notification.") - else - SStranscore.notify(record.mindname, TRUE) - record.last_notification = world.time - to_chat(src, "New notification has been sent.") + if(src.mind.name in SStranscore.backed_up) + record_found = TRUE + var/datum/transhuman/mind_record/record = SStranscore.backed_up[src.mind.name] + if(!(record.dead_state == MR_DEAD)) + to_chat(src, "Your backup is not past-due yet.") + else if((world.time - record.last_notification) < 10 MINUTES) + to_chat(src, "Too little time has passed since your last notification.") + else + SStranscore.notify(record.mindname, TRUE) + record.last_notification = world.time + to_chat(src, "New notification has been sent.") if(!record_found) to_chat(src, "No mind record found!") \ No newline at end of file