修复联机模式下客机不能播放`xxx_backup`临时技能对应的语音的陈年老bug
This commit is contained in:
parent
1c9ba7a203
commit
0bc185e202
|
@ -15924,6 +15924,11 @@ new Promise(resolve=>{
|
||||||
if(game.online){
|
if(game.online){
|
||||||
event._sendskill=[event.buttoned+'_backup',lib.skill[event.buttoned+'_backup']];
|
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');
|
event.backup(event.buttoned+'_backup');
|
||||||
if(info.prompt){
|
if(info.prompt){
|
||||||
event.openskilldialog=info.prompt(info.chooseControl?result:result.links,player);
|
event.openskilldialog=info.prompt(info.chooseControl?result:result.links,player);
|
||||||
|
|
Loading…
Reference in New Issue