From ac0d2619599fc5d40c9dbec7934672148b4f7901 Mon Sep 17 00:00:00 2001 From: Blue Wildrose Date: Fri, 26 Mar 2021 20:03:19 -0700 Subject: [PATCH] can't repair unless absolutely broken no more --- code/modules/clothing/under/_under.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/clothing/under/_under.dm b/code/modules/clothing/under/_under.dm index a26d8fe791..1b8aaa0085 100644 --- a/code/modules/clothing/under/_under.dm +++ b/code/modules/clothing/under/_under.dm @@ -34,7 +34,7 @@ . += accessory_overlay /obj/item/clothing/under/attackby(obj/item/I, mob/user, params) - if((has_sensor == BROKEN_SENSORS) && istype(I, /obj/item/stack/cable_coil)) + if((has_sensor < HAS_SENSORS) && (has_sensor != NO_SENSORS) && istype(I, /obj/item/stack/cable_coil)) if(damaged_clothes == CLOTHING_SHREDDED) to_chat(user,"[src] is too damaged to have its suit sensors repaired! Repair it first.") return 0