TRAIT_UNKNOWN (#27471)

This commit is contained in:
Qwertytoforty
2024-12-20 21:08:15 +00:00
committed by GitHub
parent 083f358b74
commit 3a3bdc8ff1
8 changed files with 30 additions and 4 deletions
+2 -2
View File
@@ -222,10 +222,10 @@
//HOOKS
/mob/living/carbon/human/proc/sec_hud_set_ID()
/mob/living/carbon/human/sec_hud_set_ID()
var/image/holder = hud_list[ID_HUD]
holder.icon_state = "hudunknown"
if(wear_id)
if(wear_id && ! HAS_TRAIT(src, TRAIT_UNKNOWN))
holder.icon_state = "hud[ckey(wear_id.get_job_name())]"
sec_hud_set_security_status()