Potentially fix a runtime when deconstructing a machinery (#18559)

.. with a signaller attached to one of its wires
This commit is contained in:
moxian
2022-07-25 09:18:16 +00:00
committed by GitHub
parent 33b9c6398d
commit c095fdd6e6
+1 -1
View File
@@ -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 ..()
/**