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
This commit is contained in:
Roxy
2025-12-06 16:43:08 -06:00
committed by GitHub
parent 0face549be
commit 03da9c4c86
@@ -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()