diff --git a/web/emotewall/index.js b/web/emotewall/index.js index 51da4d9..62b29c1 100644 --- a/web/emotewall/index.js +++ b/web/emotewall/index.js @@ -359,15 +359,15 @@ $(async function () { console.log(message.eventType, message.data) if(message.eventType == 'bounce') { - createParticule(BounceP, message.data, {}, {}) + createParticule(BounceP, handleEmoteData(message.data), {}, {}) }else if(message.eventType == 'rain') { - genRain(message.data) + genRain(handleEmoteData(message.data)) }else if(message.eventType == 'firework') { - genFirework(message.data) + genFirework(handleEmoteData(message.data)) }else if(message.eventType == 'volcano') { - genVolcano(message.data) + genVolcano(handleEmoteData(message.data)) }else if(message.eventType == 'bomb') { - createParticule(BombP, message.data, {}, {}) + createParticule(BombP, handleEmoteData(message.data), {}, {}) }else if(message.eventType == 'explosion') { //genExplosion(message.data) }else {