修复身份自动标记未区分标记视角的bug

This commit is contained in:
mengxinzxz 2023-10-15 15:07:03 +08:00 committed by GitHub
parent 3f91566a0c
commit babacdefde
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -3061,7 +3061,9 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
'step 2'
game.broadcastAll('closeDialog',event.videoId);
if(!_status.connectMode&&get.config('auto_mark_identity')&&!target.node.identity.firstChild.innerHTML.length){
target.setIdentity(event.dongcha_result);
game.broadcastAll(function(player,target,event){
if(player.isUnderControl(true)) target.setIdentity(event.dongcha_result);
},player,target,event);
}
},
neiDoCamouflage:function(){