Skip to content

Commit

Permalink
Bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
MrPeabod committed Mar 18, 2023
1 parent ffe22ee commit 5610282
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified .DS_Store
Binary file not shown.
2 changes: 1 addition & 1 deletion scripts/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ function checkJoinBlock(event) {
if (!event) return;
if (event.type != "change") return;
let block = workspace.getBlockById(event.blockId);
if (block.type != "join"||event.newValue==event.oldValue) return;
if (block.type != "join"||event.newValue==event.oldValue||((event.newValue!="ON")&&(event.oldValue!="ON"))) return;
swapStatement(block)
}

Expand Down

0 comments on commit 5610282

Please sign in to comment.