From 3a493a3306e8c338d618f26f3c4d63ba16314624 Mon Sep 17 00:00:00 2001 From: Rintim Date: Sun, 8 Oct 2023 03:52:02 +0800 Subject: [PATCH] style: fix space. --- game/game.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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'}`);