aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstonedDiscord <Tukz@gmx.de>2023-02-06 16:41:28 +0100
committerstonedDiscord <Tukz@gmx.de>2023-02-06 16:41:28 +0100
commitae0ef40f6f710596e2c2f26c51ff1a4ed0dea466 (patch)
tree91b0205055ac5be48f517a3b10c9317496e24f95
parent3e2b183f3700fd4afcc87341fc64fed2518858f1 (diff)
move blips to blips folder
-rw-r--r--webAO/components/blip.js2
-rw-r--r--webAO/viewport/utils/handleICSpeaking.ts2
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`)
);