Should fix another runtime with tools

This commit is contained in:
Anewbe
2018-08-31 22:14:15 -05:00
parent 490d49e10a
commit 85a754480a

View File

@@ -94,6 +94,8 @@
spawn(0) healthcheck() //spawn to make sure we return properly if the grille is deleted
/obj/structure/grille/attackby(obj/item/weapon/W as obj, mob/user as mob)
if(!istype(W))
return
if(W.is_wirecutter())
if(!shock(user, 100))
playsound(src, W.usesound, 100, 1)