From aed45c8ff51bcd7b9f461dc50105c2f877eadcb8 Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Mon, 18 Oct 2021 00:15:08 +0200 Subject: [PATCH] [MIRROR] fixes a runtime when department officers spawn with a wallet [MDB IGNORE] (#8890) * fixes a runtime when department officers spawn with a wallet (#62040) * fixes a runtime when department officers spawn with a wallet Co-authored-by: tralezab <40974010+tralezab@users.noreply.github.com> --- code/modules/jobs/job_types/security_officer.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/jobs/job_types/security_officer.dm b/code/modules/jobs/job_types/security_officer.dm index 2c2f7de392b..eead2723038 100644 --- a/code/modules/jobs/job_types/security_officer.dm +++ b/code/modules/jobs/job_types/security_officer.dm @@ -112,7 +112,7 @@ GLOBAL_LIST_EMPTY(security_officer_distribution) // If there's a departmental sec trim to apply to the card, overwrite. if(dep_trim) - var/obj/item/card/id/worn_id = spawning.wear_id + var/obj/item/card/id/worn_id = spawning.get_idcard(hand_first = FALSE) SSid_access.apply_trim_to_card(worn_id, dep_trim) spawning.sec_hud_set_ID()