Alt-title access fixes (#17091)

* Alt-title access fixes

* Makes life harder for learners
This commit is contained in:
Doxxmedearly
2023-08-20 14:14:59 +00:00
committed by GitHub
parent 133e44f088
commit ece73e279b
3 changed files with 8 additions and 3 deletions
+2 -2
View File
@@ -542,10 +542,10 @@
/datum/outfit/proc/get_id_access(mob/living/carbon/human/H)
return list()
/datum/outfit/proc/get_id_assignment(mob/living/carbon/human/H)
/datum/outfit/proc/get_id_assignment(mob/living/carbon/human/H, var/ignore_suffix = FALSE)
. = GetAssignment(H)
if (. && . != "Unassigned" && H?.mind?.selected_faction)
if (. && . != "Unassigned" && H?.mind?.selected_faction && !ignore_suffix)
if (H.mind.selected_faction.title_suffix)
. += " ([H.mind.selected_faction.title_suffix])"