From babacdefdeab43bdce04f8540321211a1336a3e1 Mon Sep 17 00:00:00 2001 From: mengxinzxz <139629761+mengxinzxz@users.noreply.github.com> Date: Sun, 15 Oct 2023 15:07:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=BA=AB=E4=BB=BD=E8=87=AA?= =?UTF-8?q?=E5=8A=A8=E6=A0=87=E8=AE=B0=E6=9C=AA=E5=8C=BA=E5=88=86=E6=A0=87?= =?UTF-8?q?=E8=AE=B0=E8=A7=86=E8=A7=92=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mode/identity.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mode/identity.js b/mode/identity.js index 96e97ca4c..9ff1fee62 100644 --- a/mode/identity.js +++ b/mode/identity.js @@ -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(){