tutorial_previous_fix Tentacule23

This commit is contained in:
Tentacule23 committed 2021-11-14 13:25:16 -05:00
1 parent 889c5c40cf
commit f3d14673bb
1 file changed
+3 -3
@@ -1006,7 +1006,7 @@ function newEducationTutorialSpace() {
function resumeTutorial(node) { function resumeTutorial(node) {
if (UI.projects.foundations.spaces.designSpace.workspace.isInitialized !== true) { return } if (UI.projects.foundations.spaces.designSpace.workspace.isInitialized !== true) { return }
//Testing if removing the navigationStack reset here fixes the tutorial resume issues //Testing if removing the navigationStack reset here fixes the tutorial resume issues
navigationStack = [] //navigationStack = []
node.payload.uiObject.isPlaying = true node.payload.uiObject.isPlaying = true
tutorialRootNode = node tutorialRootNode = node
currentNode = node currentNode = node
@@ -1028,7 +1028,7 @@ function newEducationTutorialSpace() {
function resumeTutorialTopic(node) { function resumeTutorialTopic(node) {
//Testing if removing the navigationStack reset here fixes the tutorial resume issues //Testing if removing the navigationStack reset here fixes the tutorial resume issues
navigationStack = [] //navigationStack = []
currentTopicNode = node currentTopicNode = node
currentNode = node currentNode = node
currentStatus = 'Playing Topic' currentStatus = 'Playing Topic'
@@ -1049,7 +1049,7 @@ function newEducationTutorialSpace() {
function resumeTutorialStep(node) { function resumeTutorialStep(node) {
//Testing if removing the navigationStack reset here fixes the tutorial resume issues //Testing if removing the navigationStack reset here fixes the tutorial resume issues
navigationStack = [] //navigationStack = []
currentStepNode = node currentStepNode = node
currentNode = node currentNode = node
currentStatus = 'Playing Step' currentStatus = 'Playing Step'