aboutsummaryrefslogtreecommitdiff
path: root/webAO/client.js
diff options
context:
space:
mode:
authorsD <stoned@derpymail.org>2020-04-07 18:00:47 +0200
committersD <stoned@derpymail.org>2020-04-07 18:00:47 +0200
commit0a66c6ed8c88a6e9a58453cdc6293a3a14891020 (patch)
treee03b9b7ed7e4920687aba990d1b13d5547ff7121 /webAO/client.js
parent764abf042db6017d89eeecf49809ad3fcd3ec5fb (diff)
move blips to the end like in client
Diffstat (limited to 'webAO/client.js')
-rw-r--r--webAO/client.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/webAO/client.js b/webAO/client.js
index ead9d0c..632bf69 100644
--- a/webAO/client.js
+++ b/webAO/client.js
@@ -1511,7 +1511,6 @@ async changeBackground(position) {
*/
async say(chatmsg) {
this.chatmsg = chatmsg;
- this.blipChannels.forEach(channel => channel.src = `${AO_HOST}sounds/general/sfx-blip${encodeURI(this.chatmsg.blips.toLowerCase())}.wav`);
this.textnow = "";
this.sfxplayed = 0;
this.textTimer = 0;
@@ -1651,6 +1650,8 @@ async changeBackground(position) {
}
}
+ this.blipChannels.forEach(channel => channel.src = `${AO_HOST}sounds/general/sfx-blip${encodeURI(this.chatmsg.blips.toLowerCase())}.wav`);
+
this.tick();
}