Fix Drying rack spawning a matter bin and circuit board on deconstruction. (#75062)

## About The Pull Request
Fixes #75033

## Changelog
🆑
fix: Drying rack spawning a matter bin and circuit board on
deconstruction
/🆑

---------

Co-authored-by: san7890 <the@san7890.com>
This commit is contained in:
SyncIt21
2023-05-01 14:01:18 -06:00
committed by GitHub
co-authored by san7890
parent 87f498afa3
commit bd65465910
@@ -277,7 +277,14 @@
/obj/machinery/smartfridge/drying_rack/on_deconstruction()
new /obj/item/stack/sheet/mineral/wood(drop_location(), 10)
..()
//remove all component parts inherited from smartfridge cause they were not required in crafting
var/obj/item/circuitboard/machine/smartfridge/board = locate() in component_parts
component_parts -= board
qdel(board)
component_parts.Cut()
return ..()
/obj/machinery/smartfridge/drying_rack/default_deconstruction_screwdriver()
/obj/machinery/smartfridge/drying_rack/exchange_parts()