Fix backward check

This commit is contained in:
Markolie
2015-02-09 17:13:53 +01:00
parent dc15fdde89
commit 2c578ee759
+1 -1
View File
@@ -486,7 +486,7 @@
H << "<span class='warning'>You need a jumpsuit before you can attach this [name].</span>"
return 0
var/obj/item/clothing/under/uniform = H.w_uniform
if(uniform.accessories.len && uniform.can_attach_accessory(src))
if(uniform.accessories.len && !uniform.can_attach_accessory(src))
if (!disable_warning)
H << "<span class='warning'>You already have an accessory of this type attached to your [uniform].</span>"
return 0