From c095fdd6e6e7bf52b6a50e372bd4e62fa369c991 Mon Sep 17 00:00:00 2001 From: moxian Date: Mon, 25 Jul 2022 09:18:16 +0000 Subject: [PATCH] Potentially fix a runtime when deconstructing a machinery (#18559) .. with a signaller attached to one of its wires --- code/datums/wires/wires.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/datums/wires/wires.dm b/code/datums/wires/wires.dm index 102b80f4359..89dca22d651 100644 --- a/code/datums/wires/wires.dm +++ b/code/datums/wires/wires.dm @@ -51,9 +51,9 @@ colors = GLOB.wire_color_directory[holder_type] /datum/wires/Destroy() - holder = null for(var/color in colors) detach_assembly(color) + holder = null return ..() /**