13
0
geforkt von Mirrors/Paper

update alternate current to v1.5.0 (#8882)

Dieser Commit ist enthalten in:
Space Walker 2023-02-21 17:58:18 +01:00
Ursprung 78f94ecb2d
Commit 7d56ee5d45

Datei anzeigen

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