修复联机模式下客机不能播放`xxx_backup`临时技能对应的语音的陈年老bug

This commit is contained in:
copcap 2023-12-01 07:02:43 +08:00
parent 1c9ba7a203
commit 0bc185e202
No known key found for this signature in database
GPG Key ID: 30E7AB6699451AEE
1 changed files with 5 additions and 0 deletions

View File

@ -15924,6 +15924,11 @@ new Promise(resolve=>{
if(game.online){
event._sendskill=[event.buttoned+'_backup',lib.skill[event.buttoned+'_backup']];
}
else{
game.broadcast((skill,audio)=>{
lib.skill[skill].audio=audio
},event.buttoned+'_backup',lib.skill[event.buttoned+'_backup'].audio);
}
event.backup(event.buttoned+'_backup');
if(info.prompt){
event.openskilldialog=info.prompt(info.chooseControl?result:result.links,player);