From afb079bf8b9442687c8b69a584c7e14cc015ee99 Mon Sep 17 00:00:00 2001 From: Markolie Date: Wed, 26 Oct 2016 12:51:48 +0200 Subject: [PATCH] Rig install adjustments --- code/modules/clothing/spacesuits/rig.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/clothing/spacesuits/rig.dm b/code/modules/clothing/spacesuits/rig.dm index e8b3e3d71c9..1c8bd73c47f 100644 --- a/code/modules/clothing/spacesuits/rig.dm +++ b/code/modules/clothing/spacesuits/rig.dm @@ -189,8 +189,8 @@ to_chat(H, "You deploy your hardsuit helmet, sealing you off from the world.") H.update_inv_head() -/obj/item/clothing/suit/space/rig/attackby(obj/item/W as obj, mob/living/user as mob, params) - if(!istype(user)) +/obj/item/clothing/suit/space/rig/attackby(obj/item/W, mob/user, params) + if(!isliving(user)) return if(istype(W,/obj/item/weapon/screwdriver) && can_modify(user))