diff --git a/game/game.js b/game/game.js index 8b765dd45..0393f46d3 100644 --- a/game/game.js +++ b/game/game.js @@ -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'}`);