From a0e73465eb5cff06ef1a5c84491a3bd85796b0cc Mon Sep 17 00:00:00 2001 From: Will <7099514+Willburd@users.noreply.github.com> Date: Sat, 7 Jun 2025 14:51:05 -0400 Subject: [PATCH] delfix (#17815) --- code/game/objects/items/weapons/circuitboards/circuitboard.dm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/game/objects/items/weapons/circuitboards/circuitboard.dm b/code/game/objects/items/weapons/circuitboards/circuitboard.dm index ba7450b67f..e59c2d04d4 100644 --- a/code/game/objects/items/weapons/circuitboards/circuitboard.dm +++ b/code/game/objects/items/weapons/circuitboards/circuitboard.dm @@ -19,7 +19,8 @@ pickup_sound = 'sound/items/pickup/device.ogg' /obj/item/circuitboard/Destroy() - QDEL_NULL(board_type) + if(isobject(board_type)) // Some boards use text instead of an instance... + QDEL_NULL(board_type) return ..() //Called when the circuitboard is used to contruct a new machine.