File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -663,7 +663,7 @@ class ScriptTreeGenerator {
663
663
const blockInfo = this . getBlockInfo ( block . opcode ) ;
664
664
if ( blockInfo ) {
665
665
const type = blockInfo . info . blockType ;
666
- if ( type === BlockType . REPORTER || type === BlockType . BOOLEAN ) {
666
+ if ( type === BlockType . REPORTER || type === BlockType . BOOLEAN || type === BlockType . INLINE ) {
667
667
return this . descendCompatLayer ( block ) ;
668
668
}
669
669
}
@@ -1415,7 +1415,7 @@ class ScriptTreeGenerator {
1415
1415
const blockInfo = this . getBlockInfo ( block . opcode ) ;
1416
1416
const blockType = ( blockInfo && blockInfo . info && blockInfo . info . blockType ) || BlockType . COMMAND ;
1417
1417
const substacks = { } ;
1418
- if ( blockType === BlockType . CONDITIONAL || blockType === BlockType . LOOP ) {
1418
+ if ( blockType === BlockType . CONDITIONAL || blockType === BlockType . LOOP || blockType === BlockType . INLINE ) {
1419
1419
for ( const inputName in block . inputs ) {
1420
1420
if ( ! inputName . startsWith ( 'SUBSTACK' ) ) continue ;
1421
1421
const branchNum = inputName === 'SUBSTACK' ? 1 : + inputName . substring ( 'SUBSTACK' . length ) ;
You can’t perform that action at this time.
0 commit comments