This commit is contained in:
Will
2025-06-07 14:51:05 -04:00
committed by GitHub
parent 5a5d8117ae
commit a0e73465eb
@@ -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.