WIP
This commit is contained in:
parent
cd9f337423
commit
b9e6adf349
@ -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') {
|
||||
|
Loading…
x
Reference in New Issue
Block a user