mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-23 14:32:59 -05:00
Add comment explaining all-at-once
This commit is contained in:
parent
62dd6c58c6
commit
8d13bf3662
1 changed files with 6 additions and 0 deletions
|
@ -185,6 +185,12 @@ class Scratch3ControlBlocks {
|
|||
}
|
||||
|
||||
allAtOnce (args, util) {
|
||||
// Since the "all at once" block is implemented for compatiblity with
|
||||
// Scratch 2.0 projects, it behaves the same way it did in 2.0, which
|
||||
// is to simply run the contained script (like "if 1 = 1").
|
||||
// (In early versions of Scratch 2.0, it would work the same way as
|
||||
// "run without screen refresh" custom blocks do now, but this was
|
||||
// removed before the release of 2.0.)
|
||||
util.startBranch(1, false);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue