diff options
| author | caleb.mabry.15@cnu.edu <caleb.mabry.15@cnu.edu> | 2022-03-13 23:48:09 -0400 |
|---|---|---|
| committer | caleb.mabry.15@cnu.edu <caleb.mabry.15@cnu.edu> | 2022-03-13 23:48:09 -0400 |
| commit | 6f25aebc0c02ed1d9ba6b2545ada595a5f274366 (patch) | |
| tree | 2d65e30b7c937ea6ee87e8480f6bc50cfeec53ef /webAO | |
| parent | 29330b3e707d975bfb05024338123f3f131127d5 (diff) | |
Fix blip slider to actually work
Diffstat (limited to 'webAO')
| -rw-r--r-- | webAO/client.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/webAO/client.js b/webAO/client.js index 6cdcc50..8bac1cc 100644 --- a/webAO/client.js +++ b/webAO/client.js @@ -2488,7 +2488,8 @@ window.changeTestimonyVolume = changeTestimonyVolume; * Triggered by the blip volume slider. */ export function changeBlipVolume() { - viewport.blipVolume = document.getElementById('client_bvolume').value; + const blipVolume = document.getElementById('client_bvolume').value; + viewport.blipChannels.forEach((channel) => channel.volume = blipVolume); setCookie('blipVolume', document.getElementById('client_bvolume').value); } window.changeBlipVolume = changeBlipVolume; |
