aboutsummaryrefslogtreecommitdiff
path: root/webAO/client/checkCallword.ts
diff options
context:
space:
mode:
Diffstat (limited to 'webAO/client/checkCallword.ts')
-rw-r--r--webAO/client/checkCallword.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/webAO/client/checkCallword.ts b/webAO/client/checkCallword.ts
index b7413f7..795eac9 100644
--- a/webAO/client/checkCallword.ts
+++ b/webAO/client/checkCallword.ts
@@ -11,7 +11,7 @@ export function checkCallword(message: string, sfxAudio: HTMLAudioElement) {
if (item !== "" && message.toLowerCase().includes(item.toLowerCase())) {
sfxAudio.pause();
sfxAudio.src = `${AO_HOST}sounds/general/sfx-gallery.opus`;
- sfxAudio.play();
+ sfxAudio.play().catch(() => {});
}
}
}