Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow borgs to open-close lockers properly #616

Merged
merged 1 commit into from Mar 22, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 4 additions & 0 deletions code/game/objects/structures/crates_lockers/closets.dm
Expand Up @@ -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
Expand Down