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.