From 5dd0bc964efaff42c08a1088997d173528a744d0 Mon Sep 17 00:00:00 2001 From: Tim Mickel Date: Mon, 11 Apr 2016 14:13:45 -0400 Subject: [PATCH] Prevent new projects via autosave in story-starter mode --- src/editor/ScratchJr.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/editor/ScratchJr.js b/src/editor/ScratchJr.js index 8dc8a80..2ac5640 100644 --- a/src/editor/ScratchJr.js +++ b/src/editor/ScratchJr.js @@ -376,6 +376,8 @@ export default class ScratchJr { }, function (md5) { // Save project data currentProject = md5; + // Switch out of story-starter mode to avoid creating new projects + editmode = 'edit'; Project.prepareToSave(currentProject, onDone); }); }, true);