fixes reading paper work from infinite tiles away

This commit is contained in:
QuoteFox
2021-02-11 08:07:21 +00:00
parent 740b366dd8
commit 8d63e4a8c0
+1 -1
View File
@@ -92,7 +92,7 @@
/obj/item/paper/examine(mob/user)
. = ..()
. += "<span class='notice'>Alt-click to fold it.</span>"
if(oui_canview(user))
if((in_range(user, src)))
ui.render(user)
else
. += "<span class='warning'>You're too far away to read it!</span>"