From 7d34286803ef52dc7a8912ca5498aa03681eeb74 Mon Sep 17 00:00:00 2001 From: CitadelStationBot Date: Thu, 14 Sep 2017 13:23:01 -0500 Subject: [PATCH] [MIRROR] Fixes a bunch of computers (#2766) * Fixes a bunch of computers (#30693) * Fixes a bunch of computers --- code/game/machinery/computer/_computer.dm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/code/game/machinery/computer/_computer.dm b/code/game/machinery/computer/_computer.dm index 0c4c6c4bbe..11a309ad44 100644 --- a/code/game/machinery/computer/_computer.dm +++ b/code/game/machinery/computer/_computer.dm @@ -19,6 +19,10 @@ /obj/machinery/computer/Initialize(mapload, obj/item/circuitboard/C) . = ..() power_change() + if(!QDELETED(C)) + qdel(circuit) + circuit = C + C.forceMove(src) /obj/machinery/computer/Destroy() QDEL_NULL(circuit)