From 92a06960f771222b656a33f1c8fbb9469843cb5a Mon Sep 17 00:00:00 2001 From: BiancaWilkson <42818125+BiancaWilkson@users.noreply.github.com> Date: Sat, 20 Jul 2024 22:28:16 -0400 Subject: [PATCH] [S] Unfucks it please oh god (#26269) * this should fix it * this should fix it --- code/game/objects/structures/noticeboard.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/objects/structures/noticeboard.dm b/code/game/objects/structures/noticeboard.dm index 83317b9d430..99858b3ef26 100644 --- a/code/game/objects/structures/noticeboard.dm +++ b/code/game/objects/structures/noticeboard.dm @@ -85,7 +85,7 @@ if(usr.stat || usr.restrained()) return var/obj/item/paper/paper = locate(params["paper"]) - if(!paper && paper.loc != src) + if(!istype(paper) || paper.loc != src) return var/obj/item/held_item = usr.get_active_hand() if(is_pen(held_item))