mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 15:17:01 +01:00
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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user