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 fd0ce1f commit f0470b4
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 @@ -152,7 +152,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 f0470b4

Please sign in to comment.