feat(client_web): use a mp3 file for dice roll sound

This commit is contained in:
Henri Bourcereau 2026-04-17 20:04:40 +02:00
parent 43196bcef8
commit 9af672823e
5 changed files with 14 additions and 2 deletions

View file

@ -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() {