From 949db42e5a6d3d33f32db2296f019e360523850f Mon Sep 17 00:00:00 2001 From: Sierra Helper <125094432+SierraHelper@users.noreply.github.com> Date: Sun, 24 Nov 2024 22:02:08 +0300 Subject: [PATCH] [MIRROR] Removed papers go to user's hands (#2909) Co-authored-by: SierraKomodo <11140088+SierraKomodo@users.noreply.github.com> --- code/modules/persistence/noticeboards.dm | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/code/modules/persistence/noticeboards.dm b/code/modules/persistence/noticeboards.dm index 416a33d3474e0..a760fe3c443a5 100644 --- a/code/modules/persistence/noticeboards.dm +++ b/code/modules/persistence/noticeboards.dm @@ -197,8 +197,12 @@ . = TOPIC_HANDLED if(href_list["remove"]) - remove_paper(locate(href_list["remove"])) - add_fingerprint(user) + var/obj/item/paper = locate(href_list["remove"]) + if (paper) + remove_paper(paper) + user.put_in_any_hand_if_possible(paper) + paper.add_fingerprint(user) + add_fingerprint(user) . = TOPIC_REFRESH if(href_list["write"])