From 60f14d42fb02a7e7f0bad8a45b41754976cd32aa Mon Sep 17 00:00:00 2001 From: Will <7099514+Willburd@users.noreply.github.com> Date: Tue, 18 Nov 2025 07:29:26 -0500 Subject: [PATCH] nullcheck (#18801) --- code/game/machinery/computer/camera.dm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/code/game/machinery/computer/camera.dm b/code/game/machinery/computer/camera.dm index 42c74e2d0b..b6b8fc1cbf 100644 --- a/code/game/machinery/computer/camera.dm +++ b/code/game/machinery/computer/camera.dm @@ -149,11 +149,13 @@ GLOBAL_LIST_EMPTY(entertainment_screens) if(stat & NOPOWER) return showing = WEAKREF(thing) - pinboard.vis_contents = list(thing) + if(pinboard) + pinboard.vis_contents = list(thing) /obj/machinery/computer/security/telescreen/entertainment/proc/stop_showing() // Reverse of the above - pinboard.vis_contents = null + if(pinboard) + pinboard.vis_contents = null showing = null /obj/machinery/computer/security/telescreen/entertainment/proc/maybe_stop_showing(datum/weakref/thingref)