update alternate current to v1.5.0 (#8882)

This commit is contained in:
Space Walker
2023-02-21 17:58:18 +01:00
parent 78f94ecb2d
commit 7d56ee5d45

View File

@@ -1347,9 +1347,9 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+ WireNode wire = node.asWire();
+ findRoot(wire);
+
+ // If the wire at the given position is not in an invalid state or is not
+ // part of a larger network, we can exit early.
+ if (!wire.searched || wire.connections.total == 0) {
+ // If the wire at the given position is not in an invalid state
+ // we can exit early.
+ if (!wire.searched) {
+ return;
+ }
+