mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-13 17:14:47 +01:00
[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:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user