Skip to content

Commit

Permalink
Update code/datums/factions/wy.dm
Browse files Browse the repository at this point in the history
Co-authored-by: Drathek <[email protected]>
  • Loading branch information
Blundir and Drulikar authored Jan 16, 2025
1 parent 812550e commit a8128c9
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions code/datums/factions/wy.dm
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
name = "Weyland-Yutani Corporation"
faction_tag = FACTION_WY

/datum/faction/wy/modify_hud_holder(image/holder, mob/living/carbon/human/H)
/datum/faction/wy/modify_hud_holder(image/holder, mob/living/carbon/human/user)
var/hud_icon_state
var/obj/item/card/id/ID = H.get_idcard()
var/_role
if(H.mind)
_role = H.job
else if(ID)
_role = ID.rank
switch(_role)
var/obj/item/card/id/id_card = user.get_idcard()
var/role
if(user.mind)
role = user.job
else if(id_card)
role = id_card.rank
switch(role)
if(JOB_WY_GOON)
hud_icon_state = "goon_normal"
if(JOB_WY_GOON_LEAD)
Expand Down

0 comments on commit a8128c9

Please sign in to comment.