diff --git a/code/modules/power/cell.dm b/code/modules/power/cell.dm index 8df114482e3..bad9f5b7d36 100644 --- a/code/modules/power/cell.dm +++ b/code/modules/power/cell.dm @@ -79,7 +79,7 @@ // s.start() // if (prob(80+(G.siemens_coefficient*100)) && electrocute_mob(user, src, src)) // return 1 - if(!istype(src, /obj/item/clothing/gloves/yellow)) + if(!istype(W, /obj/item/clothing/gloves/yellow)) if(!G.wired) user << "You run an electrical current through the gloves, but nothing happens!" return