excluding modular jumpsuits

This commit is contained in:
Metis
2024-06-28 11:34:18 -04:00
parent d955ff4f88
commit 50ec5c00b3
2 changed files with 2 additions and 2 deletions
@@ -1435,7 +1435,7 @@ GLOBAL_LIST_EMPTY(roundstart_races)
ADD_TRAIT(fatty, TRAIT_NO_JUMPSUIT, HELPLESSNESS_TRAIT)
var/obj/item/clothing/under/jumpsuit = fatty.w_uniform
if(istype(jumpsuit))
if(istype(jumpsuit) && !istype(jumpsuit, /obj/item/clothing/under/color/grey/modular))
to_chat(fatty, "<span class='warning'>[jumpsuit] can no longer contain your weight!</span>")
fatty.dropItemToGround(jumpsuit)