diff options
| author | stonedDiscord <10584181+stonedDiscord@users.noreply.github.com> | 2020-11-09 20:34:26 +0100 |
|---|---|---|
| committer | stonedDiscord <10584181+stonedDiscord@users.noreply.github.com> | 2020-11-09 20:34:26 +0100 |
| commit | c26cd57c3f05ffe6db08d2ef8aaaf9a73ca5f74b (patch) | |
| tree | f0c426a5a074097e8571148f81d4263cd890eb54 /webAO/client.js | |
| parent | 27970910f7cdf588d083e27178eb794f1d9b31d0 (diff) | |
better use the default objection sound if something went wrong
Diffstat (limited to 'webAO/client.js')
| -rw-r--r-- | webAO/client.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webAO/client.js b/webAO/client.js index cac9f74..a44f9d5 100644 --- a/webAO/client.js +++ b/webAO/client.js @@ -1925,7 +1925,7 @@ async changeBackground(position) { ]); shoutUrl = soundUrl; } catch (error) { - shoutUrl = AO_HOST + `${AO_HOST}characters/${encodeURI(this.chatmsg.name.toLowerCase())}/${shout}.wav`; + shoutUrl = AO_HOST + `${AO_HOST}misc/default/objection.wav`; } this.shoutaudio.src = shoutUrl; |
