From 2c578ee75988b6cf709700c1de117f9c909052d2 Mon Sep 17 00:00:00 2001 From: Markolie Date: Mon, 9 Feb 2015 17:13:53 +0100 Subject: [PATCH] Fix backward check --- code/game/objects/items.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/objects/items.dm b/code/game/objects/items.dm index c3be9b715e0..21179bd93dd 100644 --- a/code/game/objects/items.dm +++ b/code/game/objects/items.dm @@ -486,7 +486,7 @@ H << "You need a jumpsuit before you can attach this [name]." 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 << "You already have an accessory of this type attached to your [uniform]." return 0