File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -193,13 +193,13 @@ class Scratch3ControlBlocks {
193
193
}
194
194
195
195
allAtOnce ( args , util ) {
196
- // Since the "all at once" block is implemented for compatiblity with
197
- // Scratch 2.0 projects, it behaves the same way it did in 2.0, which
198
- // is to simply run the contained script (like "if 1 = 1").
199
- // (In early versions of Scratch 2.0, it would work the same way as
200
- // "run without screen refresh" custom blocks do now, but this was
201
- // removed before the release of 2.0.)
196
+ // In Scratch 3.0 and TurboWarp, this would simply
197
+ // run the contained substack. In Unsandboxed,
198
+ // we've reimplemented the intended functionality
199
+ // of running the stack all in one frame.
200
+ util . thread . peekStackFrame ( ) . warpMode = false ;
202
201
util . startBranch ( 1 , false ) ;
202
+ util . thread . peekStackFrame ( ) . warpMode = true ;
203
203
}
204
204
}
205
205
You can’t perform that action at this time.
0 commit comments