Skip to content

Commit

Permalink
fix: replace block connections
Browse files Browse the repository at this point in the history
  • Loading branch information
sancodes committed May 7, 2024
1 parent 6080911 commit 8c5aea2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1330,8 +1330,8 @@ suite('Procedures', function () {
const ifBlock1 = this.workspace.newBlock('controls_if');
const ifBlock2 = this.workspace.newBlock('controls_if');

ifBlock1.nextConnection.outputConnection = callBlock1;
callBlock1.nextConnection.outputConnection = ifBlock2;
ifBlock1.nextConnection.connect(callBlock1.previousConnection);
callBlock1.nextConnection.connect(ifBlock2.previousConnection);

defBlock.dispose(true);
globalThis.clock.runAll();
Expand Down

0 comments on commit 8c5aea2

Please sign in to comment.