Merge pull request #14225 from Hatterhat/dth-kit-pass2

[hello if someone could fight the maintainers to take a look that'd be great] fixes durathread armor kits
This commit is contained in:
silicons
2021-02-12 18:54:36 -07:00
committed by GitHub
3 changed files with 29 additions and 15 deletions

View File

@@ -32,6 +32,9 @@
/obj/item/clothing/under/attackby(obj/item/I, mob/user, params)
if((has_sensor == BROKEN_SENSORS) && istype(I, /obj/item/stack/cable_coil))
if(damaged_clothes)
to_chat(user,"<span class='warning'>You should repair the damage done to [src] first.</span>")
return 0
var/obj/item/stack/cable_coil/C = I
I.use_tool(src, user, 0, 1)
has_sensor = HAS_SENSORS