From 8d13bf36624772298cca2e72bfed961e133b657e Mon Sep 17 00:00:00 2001 From: Florrie Date: Tue, 1 May 2018 13:43:32 -0300 Subject: [PATCH] Add comment explaining all-at-once --- src/blocks/scratch3_control.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/blocks/scratch3_control.js b/src/blocks/scratch3_control.js index a958068a7..ae4110a5e 100644 --- a/src/blocks/scratch3_control.js +++ b/src/blocks/scratch3_control.js @@ -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); } }