-
Notifications
You must be signed in to change notification settings - Fork 906
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BF: beginRoutineJS code was broekn if continueRoutine==False
The output tried to return early (as if in the eachFrame block) whereas what it should have done was store continueRoutine as a global. Key changes -------------- 1. Set continueRoutine as a global at *top* of beginRoutine code block so it can be modified later in that block 2. remove this line from eachFrame (it would undo above fix) let continueRoutine = true; // until we're told otherwise 3. remove the erroneous code where the return Scheduler.Event.NEXT was made dependent on continueRoutine
- Loading branch information
Showing
2 changed files
with
7 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters