Fixed a bug with Introductory Tutorial in v0.35.1

This commit is contained in:
danielyxie 2018-03-12 14:53:07 -05:00
parent d3e45f746b
commit 6255971e96
2 changed files with 2 additions and 2 deletions

2
dist/bundle.js vendored

@ -22478,7 +22478,7 @@ let Terminal = {
case __WEBPACK_IMPORTED_MODULE_7__InteractiveTutorial_js__["e" /* iTutorialSteps */].TerminalCreateScript:
if (commandArray.length == 2 &&
commandArray[0] == "nano" && commandArray[1] == "foodnstuff.script") {
__WEBPACK_IMPORTED_MODULE_4__engine_js__["Engine"].loadScriptEditorContent("foodnstuff", "");
__WEBPACK_IMPORTED_MODULE_4__engine_js__["Engine"].loadScriptEditorContent("foodnstuff.script", "");
Object(__WEBPACK_IMPORTED_MODULE_7__InteractiveTutorial_js__["c" /* iTutorialNextStep */])();
} else {post("Bad command. Please follow the tutorial");}
case __WEBPACK_IMPORTED_MODULE_7__InteractiveTutorial_js__["e" /* iTutorialSteps */].TerminalFree:

@ -860,7 +860,7 @@ let Terminal = {
case iTutorialSteps.TerminalCreateScript:
if (commandArray.length == 2 &&
commandArray[0] == "nano" && commandArray[1] == "foodnstuff.script") {
Engine.loadScriptEditorContent("foodnstuff", "");
Engine.loadScriptEditorContent("foodnstuff.script", "");
iTutorialNextStep();
} else {post("Bad command. Please follow the tutorial");}
case iTutorialSteps.TerminalFree: