Skip to content

Commit

Permalink
bugfix: APC no longer can be unlocked by binds from distance (#4147)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladisvell authored Dec 29, 2023
1 parent 9a5aafb commit c6f8bf1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions code/modules/power/apc.dm
Original file line number Diff line number Diff line change
Expand Up @@ -641,6 +641,9 @@
if(!istype(human))
return

if(!Adjacent(human) || (get_turf(user) != user.loc))
return

var/obj/item/card/id/card = human.get_id_card()
if(!istype(card))
return
Expand Down

0 comments on commit c6f8bf1

Please sign in to comment.