Skip to content

Commit

Permalink
[MIRROR] Removed papers go to user's hands (#2909)
Browse files Browse the repository at this point in the history
Co-authored-by: SierraKomodo <[email protected]>
  • Loading branch information
SierraHelper and SierraKomodo authored Nov 24, 2024
1 parent 95de8f7 commit 949db42
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions code/modules/persistence/noticeboards.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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"])
Expand Down

0 comments on commit 949db42

Please sign in to comment.