修复身份自动标记未区分标记视角的bug
This commit is contained in:
parent
3f91566a0c
commit
babacdefde
|
@ -3061,7 +3061,9 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
|
||||||
'step 2'
|
'step 2'
|
||||||
game.broadcastAll('closeDialog',event.videoId);
|
game.broadcastAll('closeDialog',event.videoId);
|
||||||
if(!_status.connectMode&&get.config('auto_mark_identity')&&!target.node.identity.firstChild.innerHTML.length){
|
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(){
|
neiDoCamouflage:function(){
|
||||||
|
|
Loading…
Reference in New Issue