aboutsummaryrefslogtreecommitdiff
path: root/webAO/viewport/utils/handleICSpeaking.ts
diff options
context:
space:
mode:
Diffstat (limited to 'webAO/viewport/utils/handleICSpeaking.ts')
-rw-r--r--webAO/viewport/utils/handleICSpeaking.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/webAO/viewport/utils/handleICSpeaking.ts b/webAO/viewport/utils/handleICSpeaking.ts
index 6cf665c..ec791c5 100644
--- a/webAO/viewport/utils/handleICSpeaking.ts
+++ b/webAO/viewport/utils/handleICSpeaking.ts
@@ -169,7 +169,7 @@ export const handle_ic_speaking = async (playerChatMsg: ChatMsg) => {
)}/${shout}.opus`;
const exists = await fileExists(perCharPath);
client.viewport.shoutaudio.src = exists ? perCharPath : client.resources[shout].sfx;
- client.viewport.shoutaudio.play();
+ client.viewport.shoutaudio.play().catch(() => {});
client.viewport.setShoutTimer(client.resources[shout].duration);
} else {
client.viewport.setShoutTimer(0);