feat(client_web): use a mp3 file for dice roll sound
This commit is contained in:
parent
43196bcef8
commit
9af672823e
5 changed files with 14 additions and 2 deletions
|
|
@ -179,7 +179,7 @@ pub fn GameScreen(state: GameUiState) -> impl IntoView {
|
|||
// ── Sound effects (fire once on mount = once per state snapshot) ──────────
|
||||
// Dice roll: dice just appeared (no preceding moves in this snapshot).
|
||||
if show_dice && last_moves.is_none() {
|
||||
crate::sound::play_dice_roll_cinematic();
|
||||
crate::sound::play_dice_roll();
|
||||
}
|
||||
// Checker move: moves were committed in the preceding action.
|
||||
if last_moves.is_some() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue