Skip to content

Commit

Permalink
fix: load from dialog not working if loadOnStart not enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
seleb committed Dec 23, 2020
1 parent c42a452 commit 3efdcad
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/save.js
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,10 @@ before('startExportedGame', function () {

// hook up dialog functions
function dialogLoad(environment, parameters) {
var loadOnStart = hackOptions.loadOnStart;
hackOptions.loadOnStart = true;
bitsy.reset_cur_game();
hackOptions.loadOnStart = loadOnStart;
bitsy.dialogBuffer.EndDialog();
bitsy.startNarrating(parameters[0] || '');
}
Expand Down

0 comments on commit 3efdcad

Please sign in to comment.