Fixes repairing jumpsuits.

This commit is contained in:
Remie Richards
2017-08-07 22:19:12 +01:00
committed by GitHub
parent fcd9308b21
commit 038fca482d
+2 -4
View File
@@ -546,6 +546,8 @@ BLIND // can't see anything
has_sensor = HAS_SENSORS
to_chat(user,"<span class='notice'>You repair the suit sensors on [src] with [C].</span>")
return 1
if(!attach_accessory(I, user))
return ..()
/obj/item/clothing/under/update_clothes_damaged_state(damaging = TRUE)
..()
@@ -592,10 +594,6 @@ BLIND // can't see anything
..()
/obj/item/clothing/under/attackby(obj/item/I, mob/user, params)
if(!attach_accessory(I, user))
..()
/obj/item/clothing/under/proc/attach_accessory(obj/item/I, mob/user, notifyAttach = 1)
. = FALSE
if(istype(I, /obj/item/clothing/accessory))