Skip to content

Commit

Permalink
fixes photo view for observer distance
Browse files Browse the repository at this point in the history
  • Loading branch information
doom committed Dec 30, 2023
1 parent d46e38c commit 8845f17
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion code/modules/paperwork/paper.dm
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@

/obj/item/paper/get_examine_text(mob/user)
. = ..()
if(in_range(user, src) || istype(user, /mob/dead/observer))
if(in_range(user, src) || isobserver(user))
if(!(istype(user, /mob/dead/observer) || istype(user, /mob/living/carbon/human) || isRemoteControlling(user)))
// Show scrambled paper if they aren't a ghost, human, or silicone.
if(photo_list)
Expand Down
2 changes: 1 addition & 1 deletion code/modules/paperwork/photography.dm
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
..()

/obj/item/photo/get_examine_text(mob/user)
if(in_range(user, src))
if(in_range(user, src) || isobserver(user))
show(user)
return list(desc)
else
Expand Down

0 comments on commit 8845f17

Please sign in to comment.