From 3533ceb4edb12eb3856a035f213fa66c7b0fc5b3 Mon Sep 17 00:00:00 2001 From: Ghommie <42542238+Ghommie@users.noreply.github.com> Date: Thu, 16 Apr 2020 03:55:53 +0200 Subject: [PATCH] I'm tired. --- code/modules/clothing/clothing.dm | 3 ++- code/modules/mob/living/carbon/human/species.dm | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/code/modules/clothing/clothing.dm b/code/modules/clothing/clothing.dm index 2fd52ed048..c3eb539dc3 100644 --- a/code/modules/clothing/clothing.dm +++ b/code/modules/clothing/clothing.dm @@ -185,7 +185,8 @@ BLIND // can't see anything alpha_masks = list(alpha_masks) for(var/k in alpha_masks) var/list/L = GLOB.worn_alpha_masks[k] - M.filters += filter(type="alpha", x = L[1], y = L[2], icon = L[3]) + if(L) + M.filters += filter(type="alpha", x = L[1], y = L[2], icon = L[3]) . = GLOB.alpha_masked_worn_clothing_icons[index] = M #else diff --git a/code/modules/mob/living/carbon/human/species.dm b/code/modules/mob/living/carbon/human/species.dm index d1b408444c..678b72b983 100644 --- a/code/modules/mob/living/carbon/human/species.dm +++ b/code/modules/mob/living/carbon/human/species.dm @@ -845,7 +845,7 @@ GLOBAL_LIST_EMPTY(roundstart_race_names) if(S.center) accessory_overlay = center_image(accessory_overlay, S.dimension_x, S.dimension_y) - if(!HAS_TRAIT(H, TRAIT_HUSK)) + if(!husk) if(!forced_colour) switch(S.color_src) if(SKINTONE)