Hopefully fixes some tool-conversion things

This commit is contained in:
Anewbe
2018-08-03 15:13:29 -05:00
parent 7f84aeab9f
commit c2794c571d
90 changed files with 594 additions and 17253 deletions
+1 -1
View File
@@ -207,7 +207,7 @@
return
// Repair
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)
playsound(src.loc, F.usesound, 50, 1)