Skip to content

Commit

Permalink
Go immediately to an initialScreen, see #717
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanolson committed May 27, 2021
1 parent 00fab58 commit c6bb414
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/Sim.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ define( function( require ) {
}

//If there is only one screen, do not show the home screen
if ( screens.length === 1 ) {
if ( screens.length === 1 || initialScreen !== 0 ) {
showHomeScreen = false;
}

Expand Down

0 comments on commit c6bb414

Please sign in to comment.