From 0a734a69eaafc4c521cbbd933ecf43518a0bb663 Mon Sep 17 00:00:00 2001 From: Sealed101 <75863639+Sealed101@users.noreply.github.com> Date: Tue, 11 Oct 2022 18:27:02 +0300 Subject: [PATCH] Fixes research servers disappearing on deconstruction (#70394) * Research servers (except for the Master one) now drops their circuit board on deconstruction, allowing you to properly deconstruct and move the servers. --- code/modules/research/server.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/modules/research/server.dm b/code/modules/research/server.dm index a914d65503f..e2cec97f666 100644 --- a/code/modules/research/server.dm +++ b/code/modules/research/server.dm @@ -17,6 +17,7 @@ icon = 'icons/obj/machines/research.dmi' icon_state = "RD-server-on" base_icon_state = "RD-server" + circuit = /obj/item/circuitboard/machine/rdserver req_access = list(ACCESS_RD) /// if TRUE, we are currently operational and giving out research points. @@ -174,6 +175,7 @@ /// Master R&D server. As long as this still exists and still holds the HDD for the theft objective, research points generate at normal speed. Destroy it or an antag steals the HDD? Half research speed. /obj/machinery/rnd/server/master max_integrity = 1800 //takes roughly ~15s longer to break then full deconstruction. + circuit = null var/obj/item/computer_hardware/hard_drive/cluster/hdd_theft/source_code_hdd var/deconstruction_state = HDD_PANEL_CLOSED var/front_panel_screws = 4