Destructive Analyzer shouldn't delete its own circuit board when analyzing.

- The deletion of the circuit board without clearing the circuit variable caused it to be hard-deled by SSgarbage after several minutes. After that point, use of RPD or attempt to deconstruct would runtime.
This commit is contained in:
Leshana
2018-02-20 00:36:45 -05:00
parent d5131fc4bf
commit 782e637497
+1 -1
View File
@@ -258,7 +258,7 @@ won't update every console in existence) but it's more of a hassle to do. Also,
qdel(S)
linked_destroy.icon_state = "d_analyzer"
else
if(!(I in linked_destroy.component_parts))
if(I != linked_destroy.circuit && !(I in linked_destroy.component_parts))
qdel(I)
linked_destroy.icon_state = "d_analyzer"