From 2b8e88612a4ff11b39ac7ae25773782d8ce3eb70 Mon Sep 17 00:00:00 2001 From: Dimasw99 Date: Mon, 18 Nov 2024 21:33:41 +0100 Subject: [PATCH] Cosmetic check fix --- code/modules/clothing/spacesuits/rig/rig.dm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/code/modules/clothing/spacesuits/rig/rig.dm b/code/modules/clothing/spacesuits/rig/rig.dm index 81b33ba346e..3670257398a 100755 --- a/code/modules/clothing/spacesuits/rig/rig.dm +++ b/code/modules/clothing/spacesuits/rig/rig.dm @@ -688,9 +688,8 @@ if(!check_slot.armor_list || check_slot == wearer.shoes || check_slot == wearer.gloves) return TRUE for(var/i in check_slot.armor_list) - var/a = check_slot.armor_list[i] - for(a in armor) - if(check_slot.armor_list[i] > 2) + for(var/a in armor) + if(check_slot.armor_list[i] > 2 && i == a) return FALSE if(check_slot.armor_list[ARMOR_BIO] > 75) //Let the nerds keep the labcoat drip return FALSE