style: fix space.
This commit is contained in:
parent
fc77521b78
commit
3a493a3306
|
@ -35081,12 +35081,12 @@
|
|||
let audioFiles=audioInfo.files;
|
||||
if(typeof audioFiles!="object") return;
|
||||
if(!Array.isArray(audioFiles)){
|
||||
if(!player)return;
|
||||
if(!player) return;
|
||||
if(player.name&&player.name in audioFiles&&(!info.audioname2||!info.audioname2[player.name]))audioFiles=audioFiles[player.name];
|
||||
else if(player.name1&&player.name1 in audioFiles&&(!info.audioname2||!info.audioname2[player.name1]))audioFiles=audioFiles[player.name1];
|
||||
else if(player.name2&&player.name2 in audioFiles&&(!info.audioname2||!info.audioname2[player.name2]))audioFiles=audioFiles[player.name2];
|
||||
}
|
||||
if(!Array.isArray(audioFiles))return;
|
||||
if(!Array.isArray(audioFiles)) return;
|
||||
let length=audioFiles.length;
|
||||
if(fixedNum)length=Math.min(length,fixedNum);
|
||||
//game.playAudio(`${audioInfo[0]}:${audioInfo[1]}`,`${audioName}${+1}.${audioInfo[3]||'mp3'}`);
|
||||
|
|
Loading…
Reference in New Issue