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))