mirror of
https://github.com/scratchfoundation/scratchjr.git
synced 2024-11-25 00:28:20 -05:00
Merge pull request #56 from tmickel/bugfix/storystarter-autosave
Prevent new projects via autosave in story-starter mode
This commit is contained in:
commit
70ddc00913
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue