diff --git a/packages/frontend/src/scripts/sound.ts b/packages/frontend/src/scripts/sound.ts index a4c6967d18..2f7545ef0d 100644 --- a/packages/frontend/src/scripts/sound.ts +++ b/packages/frontend/src/scripts/sound.ts @@ -161,7 +161,7 @@ export function play(operationType: OperationType) { if (sound.type == null || !canPlay) return; canPlay = false; - playFile(sound).then(() => { + playFile(sound).finally(() => { // ごく短時間に音が重複しないように setTimeout(() => { canPlay = true;