[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>
This commit is contained in:
SkyratBot
2021-10-18 00:15:08 +02:00
committed by GitHub
parent a83e3bc6e3
commit aed45c8ff5
@@ -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()