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 2fd0217 commit f1bcb24
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 @@ -154,7 +154,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 f1bcb24

Please sign in to comment.