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

View File

@ -359,16 +359,17 @@ $(async function () {
return;
console.log(message.eventType, message.data)
let emote = handleEmoteData(message.data)
if(message.eventType == 'bounce') {
createParticule(BounceP, handleEmoteData(message.data), {}, {})
createParticule(BounceP, emote, {}, {})
}else if(message.eventType == 'rain') {
genRain(handleEmoteData(message.data))
genRain(emote)
}else if(message.eventType == 'firework') {
genFirework(handleEmoteData(message.data))
genFirework(emote)
}else if(message.eventType == 'volcano') {
genVolcano(handleEmoteData(message.data))
genVolcano(emote)
}else if(message.eventType == 'bomb') {
createParticule(BombP, handleEmoteData(message.data), {}, {})
createParticule(BombP, emote, {}, {})
}else if(message.eventType == 'explosion') {
//genExplosion(message.data)
}else {