minor fix
This commit is contained in:
parent
ae113b46d1
commit
7002d94988
|
@ -15928,6 +15928,7 @@ new Promise(resolve=>{
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
game.broadcast((skill,audio)=>{
|
game.broadcast((skill,audio)=>{
|
||||||
|
if(!lib.skill[skill]) lib.skill[skill]={};
|
||||||
lib.skill[skill].audio=audio;
|
lib.skill[skill].audio=audio;
|
||||||
},event.buttoned+'_backup',lib.skill[event.buttoned+'_backup'].audio);
|
},event.buttoned+'_backup',lib.skill[event.buttoned+'_backup'].audio);
|
||||||
}
|
}
|
||||||
|
@ -16121,6 +16122,7 @@ new Promise(resolve=>{
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
game.broadcast((skill,audio)=>{
|
game.broadcast((skill,audio)=>{
|
||||||
|
if(!lib.skill[skill]) lib.skill[skill]={};
|
||||||
lib.skill[skill].audio=audio;
|
lib.skill[skill].audio=audio;
|
||||||
},event.buttoned+'_backup',lib.skill[event.buttoned+'_backup'].audio);
|
},event.buttoned+'_backup',lib.skill[event.buttoned+'_backup'].audio);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue