We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63fbbf7 commit 0e81b82Copy full SHA for 0e81b82
web-app/src/services/state/machine.ts
@@ -215,7 +215,7 @@ export const createMachine = (options: any) => {
215
},
216
217
LevelComplete: {
218
- onExit: ['testClear', 'syncLevelPosition'],
+ onExit: ['testClear'],
219
on: {
220
NEXT_LEVEL: 'LoadNext',
221
KEY_PRESS_ENTER: 'LoadNext',
@@ -224,6 +224,7 @@ export const createMachine = (options: any) => {
224
LoadNext: {
225
id: 'tutorial-load-next',
226
onEntry: ['loadNext'],
227
+ onExit: ['syncLevelPosition'],
228
229
NEXT_STEP: {
230
target: 'Load',
0 commit comments