aboutsummaryrefslogtreecommitdiff
path: root/webAO/client.js
diff options
context:
space:
mode:
Diffstat (limited to 'webAO/client.js')
-rw-r--r--webAO/client.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/webAO/client.js b/webAO/client.js
index 36817c5..5c2332f 100644
--- a/webAO/client.js
+++ b/webAO/client.js
@@ -641,7 +641,7 @@ class Viewport {
let shout = shouts[this.chatmsg.objection];
if (typeof shout !== "undefined") {
document.getElementById("client_char").src = AO_HOST + "misc/" + shout + ".gif";
- this.chatmsg.sound = "sfx-" + shout;
+ (new Audio(`${AO_HOST}/characters/${this.chatmsg.name}/${shout}.wav`)).play();
this.shoutTimer = 800;
} else {
this.shoutTimer = 0;