mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-30 08:37:43 +01:00
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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user