diff options
| -rw-r--r-- | webAO/components/blip.js | 2 | ||||
| -rw-r--r-- | webAO/viewport/utils/handleICSpeaking.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/webAO/components/blip.js b/webAO/components/blip.js index db6a784..6f896f5 100644 --- a/webAO/components/blip.js +++ b/webAO/components/blip.js @@ -7,7 +7,7 @@ import { AO_HOST } from '../client/aoHost' const createBlip = (amountOfBlips) => { for (let i = 0; i < amountOfBlips; i++) { const audio = document.createElement('audio') - const blipUrl = `${AO_HOST}sounds/general/sfx-blipmale.opus` + const blipUrl = `${AO_HOST}sounds/blips/male.opus` audio.setAttribute('class', 'blipSound') audio.setAttribute('src', blipUrl) document.body.appendChild(audio) diff --git a/webAO/viewport/utils/handleICSpeaking.ts b/webAO/viewport/utils/handleICSpeaking.ts index e2d147d..b1aa02d 100644 --- a/webAO/viewport/utils/handleICSpeaking.ts +++ b/webAO/viewport/utils/handleICSpeaking.ts @@ -244,7 +244,7 @@ export const handle_ic_speaking = async (playerChatMsg: ChatMsg) => { client.viewport.blipChannels.forEach( (channel: HTMLAudioElement) => - (channel.src = `${AO_HOST}sounds/general/sfx-blip${encodeURI( + (channel.src = `${AO_HOST}sounds/blips/${encodeURI( client.viewport.getChatmsg().blips.toLowerCase() )}.opus`) ); |
