diff --git a/code/datums/id_trim/_id_trim.dm b/code/datums/id_trim/_id_trim.dm index a64b71e357fd0..32bafcb41d3f7 100644 --- a/code/datums/id_trim/_id_trim.dm +++ b/code/datums/id_trim/_id_trim.dm @@ -30,9 +30,6 @@ var/pointer_color /datum/id_trim/proc/find_job() - for (var/datum/job/job as anything in SSjob.all_occupations) - if (job.title == assignment) - return job return null /// Returns the SecHUD job icon state for whatever this object's ID card is, if it has one. diff --git a/code/datums/id_trim/jobs.dm b/code/datums/id_trim/jobs.dm index 0bb7dabe262cc..a7bc17d794312 100644 --- a/code/datums/id_trim/jobs.dm +++ b/code/datums/id_trim/jobs.dm @@ -76,6 +76,9 @@ return TRUE +/datum/id_trim/job/find_job() + return job + /datum/id_trim/job/assistant assignment = JOB_ASSISTANT trim_state = "trim_assistant"