From f80e0aeb07752976278df07d472302f5c4f9667f Mon Sep 17 00:00:00 2001 From: Ashime Date: Sun, 16 Jun 2024 18:41:49 -0400 Subject: [PATCH] force branch count --- src/engine/runtime.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/engine/runtime.js b/src/engine/runtime.js index 4dfd01be3bf..520f966f49a 100644 --- a/src/engine/runtime.js +++ b/src/engine/runtime.js @@ -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; }