From 4462faede8bc1dfc451d8f3ff4862d46ec2f18c7 Mon Sep 17 00:00:00 2001 From: SandPoot Date: Sun, 14 Feb 2021 20:23:31 -0300 Subject: [PATCH] quick fix about the accessories being more than one --- code/game/objects/items/armor_kits.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/game/objects/items/armor_kits.dm b/code/game/objects/items/armor_kits.dm index 906d7c5f81..b8217226c6 100644 --- a/code/game/objects/items/armor_kits.dm +++ b/code/game/objects/items/armor_kits.dm @@ -17,8 +17,8 @@ if(C.damaged_clothes) to_chat(user,"You should repair the damage done to [C] first.") return - if(C.attached_accessory) - to_chat(user,"Kind of hard to sew around [C.attached_accessory].") + if(C.attached_accessories.len) + to_chat(user,"Kind of hard to sew around [C.attached_accessories.Join(", ")].") return if(C.armor.getRating("melee") < 10) C.armor = C.armor.setRating("melee" = 10)