From de3e81657dca96a1396c9f3936e09ffe3cf589e5 Mon Sep 17 00:00:00 2001 From: Chinsky Date: Sun, 8 Feb 2015 12:45:50 +0300 Subject: [PATCH] Added moar sanity. --- code/modules/clothing/clothing.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/modules/clothing/clothing.dm b/code/modules/clothing/clothing.dm index cb71a9f285..da569c6b61 100644 --- a/code/modules/clothing/clothing.dm +++ b/code/modules/clothing/clothing.dm @@ -413,6 +413,8 @@ BLIND // can't see anything /obj/item/clothing/under/proc/can_attach_accessory(obj/item/clothing/accessory/A) if(istype(A)) .=1 + else + return 0 if(accessories.len && (A.slot in list("utility","armband"))) for(var/obj/item/clothing/accessory/AC in accessories) if (AC.slot == A.slot)