diff --git a/code/modules/clothing/masks/breath.dm b/code/modules/clothing/masks/breath.dm index e8ba6c4913..2a442dbad8 100644 --- a/code/modules/clothing/masks/breath.dm +++ b/code/modules/clothing/masks/breath.dm @@ -53,7 +53,7 @@ /obj/item/clothing/mask/breath/vox/mob_can_equip(M as mob, slot) var/mob/living/carbon/human/V = M - if(V.dna.mutantrace != "vox") + if(V.species.name != "Vox") V << "This clearly isn't designed for your species!" return 0 diff --git a/code/modules/clothing/spacesuits/alien.dm b/code/modules/clothing/spacesuits/alien.dm index 7e9b18f5ef..0115eef311 100644 --- a/code/modules/clothing/spacesuits/alien.dm +++ b/code/modules/clothing/spacesuits/alien.dm @@ -3,14 +3,14 @@ var/up = 0 //So Unathi helmets play nicely with the weldervision check. mob_can_equip(M as mob, slot) var/mob/living/carbon/human/U = M - if(U.dna.mutantrace != "lizard") + if(U.species.name != "Unathi") U << "This clearly isn't designed for your species!" return 0 return ..() /obj/item/clothing/suit/space/unathi/mob_can_equip(M as mob, slot) var/mob/living/carbon/human/U = M - if(U.dna.mutantrace != "lizard") + if(U.species.name != "Unathi") U << "This clearly isn't designed for your species!" return 0 @@ -79,14 +79,14 @@ /obj/item/clothing/head/helmet/space/vox/mob_can_equip(M as mob, slot) var/mob/living/carbon/human/V = M - if(V.dna.mutantrace != "vox") + if(V.species.name != "Vox") V << "This clearly isn't designed for your species!" return 0 return ..() /obj/item/clothing/suit/space/vox/mob_can_equip(M as mob, slot) var/mob/living/carbon/human/V = M - if(V.dna.mutantrace != "vox") + if(V.species.name != "Vox") V << "This clearly isn't designed for your species!" return 0 @@ -117,7 +117,7 @@ /obj/item/clothing/gloves/yellow/vox/mob_can_equip(M as mob, slot) var/mob/living/carbon/human/U = M - if(U.dna.mutantrace != "vox") + if(U.species.name != "Vox") U << "This clearly isn't designed for your species!" return 0 return ..() @@ -149,7 +149,7 @@ /obj/item/clothing/shoes/magboots/vox/mob_can_equip(M as mob, slot) var/mob/living/carbon/human/U = M - if(U.dna.mutantrace != "vox") + if(U.species.name != "Vox") U << "This clearly isn't designed for your species!" return 0 return ..() \ No newline at end of file