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 5982c2b commit 2d37710
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion js/solveit/view/EqualityExplorerLevelSelectionButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ class EqualityExplorerLevelSelectionButton extends LevelSelectionButton {
listener: () => {
phet.log && phet.log( `Level${scene.challengeGenerator.level} button pressed` );
sceneProperty.value = scene;
}
},
soundPlayerIndex: scene.challengeGenerator.level - 1
} );
}
}
Expand Down

0 comments on commit 2d37710

Please sign in to comment.