From 4f1561d96f153ef2ad5e08ea310b7c7e4a24250f Mon Sep 17 00:00:00 2001 From: Mars Date: Fri, 17 Nov 2017 17:47:26 +0100 Subject: [PATCH] Removes unnecessary check. The hidetail flag will hide the tail when needed, doesn't matter if it's a spacesuit or not, most if not all have the hidetail flag. Allows more freedom in the decision when the tail gets shown or not --- code/modules/mob/living/carbon/human/body_accessories.dm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/code/modules/mob/living/carbon/human/body_accessories.dm b/code/modules/mob/living/carbon/human/body_accessories.dm index cf49a328981..071ad99cd95 100644 --- a/code/modules/mob/living/carbon/human/body_accessories.dm +++ b/code/modules/mob/living/carbon/human/body_accessories.dm @@ -97,7 +97,7 @@ var/global/list/body_accessory_by_species = list("None" = null) animated_icon_state = "null" /datum/body_accessory/tail/try_restrictions(var/mob/living/carbon/human/H) - if(!H.wear_suit || !(H.wear_suit.flags_inv & HIDETAIL) && !istype(H.wear_suit, /obj/item/clothing/suit/space)) + if(!H.wear_suit || !(H.wear_suit.flags_inv & HIDETAIL)) return 1 return 0 @@ -140,4 +140,3 @@ var/global/list/body_accessory_by_species = list("None" = null) icon_state = "vulptail6" animated_icon_state = "vulptail6_a" allowed_species = list("Vulpkanin") -