This commit is contained in:
choelzl 2022-02-23 20:50:57 +01:00
parent cd9f337423
commit b9e6adf349
Signed by: sora
GPG Key ID: A362EA0491E2EEA0

View File

@ -349,7 +349,7 @@ $(async function () {
}
}
const handleSocketMessage = (e)=>{
const handleSocketMessage = async (e)=>{
try {
let rawMessage = e.data,
message = JSON.parse(rawMessage);
@ -359,7 +359,7 @@ $(async function () {
return;
console.log(message.eventType, message.data)
let emote = handleEmoteData(message.data)
let emote = await handleEmoteData(message.data)
if(message.eventType == 'bounce') {
createParticule(BounceP, emote, {}, {})
}else if(message.eventType == 'rain') {