From 34ee689609fcc52a64ec638380fb26666b3667af Mon Sep 17 00:00:00 2001 From: Anewbe Date: Mon, 15 Oct 2018 14:51:02 -0500 Subject: [PATCH 1/2] Merge pull request #5671 from lbnesquik/Kates-Fax-Fix Prevent people from removing papers from any distances. --- code/modules/paperwork/faxmachine.dm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/modules/paperwork/faxmachine.dm b/code/modules/paperwork/faxmachine.dm index 707c89409e..8a2940b90d 100644 --- a/code/modules/paperwork/faxmachine.dm +++ b/code/modules/paperwork/faxmachine.dm @@ -78,6 +78,9 @@ var/list/adminfaxes = list() //cache for faxes that have been sent to admins else if(href_list["remove"]) if(copyitem) + if(get_dist(usr, src) >= 2) + to_chat(usr, "\The [copyitem] is too far away for you to remove it.") + return copyitem.loc = usr.loc usr.put_in_hands(copyitem) to_chat(usr, "You take \the [copyitem] out of \the [src].")