Skip to content

Commit

Permalink
force branch count
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashime committed Jun 16, 2024
1 parent 8fa99df commit f80e0ae
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/engine/runtime.js
Original file line number Diff line number Diff line change
Expand Up @@ -1429,8 +1429,9 @@ class Runtime extends EventEmitter {
break;
case BlockType.INLINE:
blockJSON.output = null;
blockJSON.outputShape = ScratchBlocksConstants.OUTPUT_SHAPE_SQUARE;
blockInfo.disableMonitor = true;
blockInfo.branchCount = blockInfo.branchCount || 1;
blockJSON.outputShape = ScratchBlocksConstants.OUTPUT_SHAPE_SQUARE;
break;
}

Expand Down

0 comments on commit f80e0ae

Please sign in to comment.