mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-26 06:40:08 +01:00
Hopefully fixes some tool-conversion things
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user