From f08a8a9e4869fb88690a1549180ed86fbc6c9bd0 Mon Sep 17 00:00:00 2001 From: Sierra Helper <125094432+SierraHelper@users.noreply.github.com> Date: Mon, 1 Jul 2024 05:31:44 +0300 Subject: [PATCH] [MIRROR] process_visors no longer tries to steal accessories from kittens (#2340) Co-authored-by: Spookerton <918997+Spookerton@users.noreply.github.com> Co-authored-by: UEDCommander <52104104+UEDCommander@users.noreply.github.com> --- code/modules/mob/living/carbon/human/human_helpers.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/mob/living/carbon/human/human_helpers.dm b/code/modules/mob/living/carbon/human/human_helpers.dm index 6b0e5ca5b0be9..50e880501d2b4 100644 --- a/code/modules/mob/living/carbon/human/human_helpers.dm +++ b/code/modules/mob/living/carbon/human/human_helpers.dm @@ -122,7 +122,7 @@ add_client_color(/datum/client_color/nvg) add_clothing_protection(mod) mod.process_hud(src) - if (eyewear) + if (istype(eyewear)) for(var/obj/item/clothing/accessory/glassesmod/mod in eyewear.accessories) if (mod?.active) equipment_darkness_modifier += mod.darkness_view