parseSkillAudio正则小修

This commit is contained in:
kuangshen04 2023-11-14 16:53:26 +08:00
parent 943c0a3b7c
commit 7045740450
1 changed files with 1 additions and 1 deletions

View File

@ -37398,7 +37398,7 @@
let audioList=[]; let audioList=[];
audioInfo=String(audioInfo); audioInfo=String(audioInfo);
let list=audioInfo.match(/(?:(.*):|^)(true|\d*)(?::(.*)|$)/); let list=audioInfo.match(/(?:(.*):|^)(true|\d+)(?::(.*)|$)/);
if(list&&list[2]){ if(list&&list[2]){
let _audioname=''; let _audioname='';
if(audioname.includes(player.name)) _audioname=`_${player.name}`; if(audioname.includes(player.name)) _audioname=`_${player.name}`;