diff --git a/code/modules/jobs/job_report.dm b/code/modules/jobs/job_report.dm index 3dcf1f29453..b586e94ee66 100644 --- a/code/modules/jobs/job_report.dm +++ b/code/modules/jobs/job_report.dm @@ -75,13 +75,11 @@ to_chat(usr, "ERROR: Insufficient admin rights.", confidential = TRUE) return TRUE - var/client/owner_client = locate(owner) in GLOB.clients - - if(!owner_client) + if(QDELETED(owner)) to_chat(usr, "ERROR: Client not found.", confidential = TRUE) return TRUE - viewer_admin_datum.toggle_exempt_status(owner_client) + viewer_admin_datum.toggle_exempt_status(owner) return TRUE #undef JOB_REPORT_MENU_FAIL_REASON_TRACKING_DISABLED