Skip to content

Commit

Permalink
Update examine.dm
Browse files Browse the repository at this point in the history
Co-authored-by: Drathek <[email protected]>
  • Loading branch information
Cthulhu80 and Drulikar committed Dec 31, 2023
1 parent 7b14751 commit 2f5d15f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/mob/living/carbon/human/examine.dm
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@
return TRUE
if("squadleader")
var/datum/mob_hud/faction_hud = GLOB.huds[MOB_HUD_FACTION_USCM]
if(passed_human.mind && passed_human.assigned_squad && passed_human.assigned_squad.squad_leader == passed_human && locate(passed_mob) in faction_hud.hudusers)
if(passed_human.mind && passed_human.assigned_squad && passed_human.assigned_squad.squad_leader == passed_human && faction_hud.hudusers[passed_mob])
return TRUE
else
return FALSE
Expand Down

0 comments on commit 2f5d15f

Please sign in to comment.