Merge pull request #2634 from Tentacule23/develop

Contribution: tutorial_previous_fix Tentacule23
This commit is contained in:
Luis Fernando Molina authored and GitHub committed 2021-11-14 15:09:52 -04:00
commit bbf19a9194
1 file changed
+3 -3
@@ -1006,7 +1006,7 @@ function newEducationTutorialSpace() {
function resumeTutorial(node) {
if (UI.projects.foundations.spaces.designSpace.workspace.isInitialized !== true) { return }
//Testing if removing the navigationStack reset here fixes the tutorial resume issues
navigationStack = []
//navigationStack = []
node.payload.uiObject.isPlaying = true
tutorialRootNode = node
currentNode = node
@@ -1028,7 +1028,7 @@ function newEducationTutorialSpace() {
function resumeTutorialTopic(node) {
//Testing if removing the navigationStack reset here fixes the tutorial resume issues
navigationStack = []
//navigationStack = []
currentTopicNode = node
currentNode = node
currentStatus = 'Playing Topic'
@@ -1049,7 +1049,7 @@ function newEducationTutorialSpace() {
function resumeTutorialStep(node) {
//Testing if removing the navigationStack reset here fixes the tutorial resume issues
navigationStack = []
//navigationStack = []
currentStepNode = node
currentNode = node
currentStatus = 'Playing Step'