Allow borgs to open-close lockers properly

This commit is contained in:
Tigercat2000
2015-03-21 14:28:29 +01:00
parent b5b4d6f178
commit b9adc59d26
@@ -311,6 +311,10 @@
src.add_fingerprint(user)
return
/obj/structure/closet/attack_ai(mob/user)
if(istype(user, /mob/living/silicon/robot) && Adjacent(user)) //Robots can open/close it, but not the AI
attack_hand(user)
/obj/structure/closet/relaymove(mob/user as mob)
if(user.stat || !isturf(src.loc))
return