修复【大雾】对之前标记角色永久生效的bug
This commit is contained in:
parent
1d7a459672
commit
99d218b743
|
@ -6061,7 +6061,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
onremove:function(player){
|
onremove:function(player){
|
||||||
game.countPlayer2(current=>{
|
game.countPlayer2(current=>{
|
||||||
if(current.getStorage('dawu2').includes(player)){
|
if(current.getStorage('dawu2').includes(player)){
|
||||||
current.unmarkAuto('dawu2',player);
|
current.unmarkAuto('dawu2',[player]);
|
||||||
current.removeAdditionalSkill(`dawu_${player.playerid}`);
|
current.removeAdditionalSkill(`dawu_${player.playerid}`);
|
||||||
}
|
}
|
||||||
},true);
|
},true);
|
||||||
|
|
Loading…
Reference in New Issue