style: fix space.

This commit is contained in:
Rintim 2023-10-08 03:52:02 +08:00
parent fc77521b78
commit 3a493a3306
No known key found for this signature in database
GPG Key ID: BE9E1EA615BACFCF
1 changed files with 2 additions and 2 deletions

View File

@ -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'}`);