领舞喊话修复

master
yin5th 2021-11-24 15:17:04 +08:00
parent 502601bc52
commit b8cf9450d3
1 changed files with 6 additions and 3 deletions

View File

@ -230,9 +230,12 @@ function receiveMessage(event)
} }
// 领舞喊一起喊 // 领舞喊一起喊
// leader.text.slice(0,3); // leader.text.slice(0,3);
if (leader.text.length >= 4) {
if(leader.text.slice(0,4)=="一起喊:" || leader.text.slice(0,4)=="一起喊:"){ if(leader.text.slice(0,4)=="一起喊:" || leader.text.slice(0,4)=="一起喊:"){
allSay(leader.text.slice(4)); allSay(leader.text.slice(4));
} }
}
// 领舞自己喊跳舞 // 领舞自己喊跳舞
if(peopleHan(dm.text)){ if(peopleHan(dm.text)){
clearInterval(dancerTimer); clearInterval(dancerTimer);