Skip to content

Commit

Permalink
set soundPlayerIndex for level selection button, see phetsims/vegas#89
Browse files Browse the repository at this point in the history
  • Loading branch information
jbphet committed Sep 7, 2021
1 parent 5d1bb9a commit 3ca1340
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion js/linegame/view/SettingsNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,8 @@ function createLevelSelectionButton( level, model, levelImage ) {
listener: () => {
model.levelProperty.set( level );
model.setGamePhase( GamePhase.PLAY );
}
},
soundPlayerIndex: level
} );
}

Expand Down

0 comments on commit 3ca1340

Please sign in to comment.