Rig install adjustments

This commit is contained in:
Markolie
2016-10-26 12:51:48 +02:00
parent 0725ea2cbb
commit afb079bf8b
+2 -2
View File
@@ -189,8 +189,8 @@
to_chat(H, "<span class='notice'>You deploy your hardsuit helmet, sealing you off from the world.</span>")
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))