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 Jul 19, 2021
1 parent 83d81e1 commit 3d08d78
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion js/game/view/StartGameLevelNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ class StartGameLevelNode extends Node {
scoreDisplayOptions: {
numberOfStars: options.numStarsOnButtons,
perfectScore: options.perfectScore
}
},
soundPlayerIndex: i
}
);
this.addChild( buttons[ i ] );
Expand Down

0 comments on commit 3d08d78

Please sign in to comment.