From 03da9c4c86a3cb6dced4a9493fa7340ec9664151 Mon Sep 17 00:00:00 2001 From: Roxy <75404941+TealSeer@users.noreply.github.com> Date: Sat, 6 Dec 2025 16:43:08 -0600 Subject: [PATCH] Fix no underwear trait not being checked (#94345) ## About The Pull Request Early return in `/mob/living/carbon/human/update_underwear()` if mob has `TRAIT_NO_UNDERWEAR` ## Why It's Good For The Game Fixes #94321 Fixes #93922 Fixes #93702 --- code/modules/mob/living/carbon/human/human_update_icons.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/mob/living/carbon/human/human_update_icons.dm b/code/modules/mob/living/carbon/human/human_update_icons.dm index e0814c889ed..7b0d8e7dd0e 100644 --- a/code/modules/mob/living/carbon/human/human_update_icons.dm +++ b/code/modules/mob/living/carbon/human/human_update_icons.dm @@ -866,7 +866,7 @@ generate/load female uniform sprites matching all previously decided variables /mob/living/carbon/human/proc/update_underwear() remove_overlay(BODY_LAYER) - if(HAS_TRAIT(src, TRAIT_HUSK) || HAS_TRAIT(src, TRAIT_INVISIBLE_MAN)) + if(HAS_TRAIT(src, TRAIT_HUSK) || HAS_TRAIT(src, TRAIT_INVISIBLE_MAN) || HAS_TRAIT(src, TRAIT_NO_UNDERWEAR)) return // Underwear, Undershirts & Socks var/list/standing = list()