quick fix about the accessories being more than one

This commit is contained in:
SandPoot
2021-02-14 20:23:31 -03:00
parent e1e3ec8e9f
commit 4462faede8
+2 -2
View File
@@ -17,8 +17,8 @@
if(C.damaged_clothes)
to_chat(user,"<span class='warning'>You should repair the damage done to [C] first.</span>")
return
if(C.attached_accessory)
to_chat(user,"<span class='warning'>Kind of hard to sew around [C.attached_accessory].</span>")
if(C.attached_accessories.len)
to_chat(user,"<span class='warning'>Kind of hard to sew around [C.attached_accessories.Join(", ")].</span>")
return
if(C.armor.getRating("melee") < 10)
C.armor = C.armor.setRating("melee" = 10)