Skip to content

Commit 3fce33c

Browse files
Merge pull request NebulaSS13#5141 from out-of-phaze/fix/antagonist-id-title
Implement unused id_title variable on special_role
2 parents 6a02b60 + 9a67514 commit 3fce33c

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

code/game/antagonist/antagonist_equip.dm

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,13 @@
2121
var/decl/outfit/outfit = GET_DECL(default_outfit)
2222
outfit.equip_outfit(player)
2323

24-
if(default_access)
25-
var/obj/item/card/id/id = player.get_equipped_item(slot_wear_id_str)
26-
if(id)
24+
var/obj/item/card/id/id = player.get_equipped_item(slot_wear_id_str)
25+
if(id)
26+
if(default_access)
2727
LAZYDISTINCTADD(id.access, default_access)
28+
if(id_title)
29+
id.assignment = id_title
30+
id.position = id_title
2831

2932
if(rig_type)
3033
equip_rig(rig_type, player)

0 commit comments

Comments
 (0)