Hopefully fixes some tool-conversion things

This commit is contained in:
Anewbe
2018-08-03 15:06:52 -05:00
parent 7f84aeab9f
commit c2794c571d
90 changed files with 594 additions and 17253 deletions

View File

@@ -139,7 +139,7 @@
dismantle(W, user)
return 1
if(health < maxhealth && W.is_welder())
if(health < maxhealth && istype(W, /obj/item/weapon/weldingtool))
var/obj/item/weapon/weldingtool/F = W
if(F.welding)
to_chat(user, "<span class='notice'>You begin reparing damage to \the [src].</span>")