From 85a754480ac0f95f2f0617fb2c083a9b79a44a3b Mon Sep 17 00:00:00 2001 From: Anewbe Date: Fri, 31 Aug 2018 22:14:15 -0500 Subject: [PATCH] Should fix another runtime with tools --- code/game/objects/structures/grille.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/game/objects/structures/grille.dm b/code/game/objects/structures/grille.dm index 8b16105815..8817dd64a2 100644 --- a/code/game/objects/structures/grille.dm +++ b/code/game/objects/structures/grille.dm @@ -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)