diff --git a/code/modules/clothing/clothing.dm b/code/modules/clothing/clothing.dm index 601d889b90..0ec7e59190 100644 --- a/code/modules/clothing/clothing.dm +++ b/code/modules/clothing/clothing.dm @@ -23,9 +23,8 @@ return 0 if(species_restricted && istype(M,/mob/living/carbon/human)) - - var/wearable = null var/exclusive = null + var/wearable = null var/mob/living/carbon/human/H = M if("exclude" in species_restricted) @@ -39,10 +38,9 @@ if(H.species.name in species_restricted) wearable = 1 - if(!wearable && (slot != 15 && slot != 16)) //Pockets. - M << "\red Your species cannot wear [src]." + if(!wearable && !(slot in list(slot_l_store, slot_r_store, slot_s_store))) + H << "Your species cannot wear [src]." return 0 - return 1 /obj/item/clothing/proc/refit_for_species(var/target_species)