Skip to content

Commit

Permalink
[MODULAR] Fixes synth internal computer pda interaction (#811)
Browse files Browse the repository at this point in the history
Fixes synth internal computer pda interaction

Co-authored-by: Bloop <[email protected]>
  • Loading branch information
Steals-The-PRs and vinylspiders authored Nov 25, 2023
1 parent da5030b commit cb6f659
Showing 1 changed file with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,11 @@
return UI_CLOSE

if(!QDELETED(brain_loc.owner))
if(brain_loc.owner == user)
return min(
ui_status_user_is_abled(user, src),
ui_status_only_living(user),
)
else return UI_CLOSE
return min(
ui_status_user_is_abled(user, src),
ui_status_only_living(user),
ui_status_user_is_adjacent(user, brain_loc.owner),
)
return ..()

/obj/item/modular_computer/pda/synth/RemoveID(mob/user)
Expand Down

0 comments on commit cb6f659

Please sign in to comment.