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 12, 2021
1 parent 0bcdea1 commit 60d7528
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion js/game/view/LevelSelectionNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ class LevelSelectionNode extends Node {
numberOfStars: options.numStarsOnButtons,
perfectScore: options.perfectScore,
scale: options.buttonScale
}
},
soundPlayerIndex: i
}
);
this.addChild( buttons[ i ] );
Expand Down

0 comments on commit 60d7528

Please sign in to comment.