From ddd6c6777c96a6d736293eaf4a7688f89ee75207 Mon Sep 17 00:00:00 2001 From: Spmario233 Date: Tue, 3 Oct 2023 12:02:19 +0800 Subject: [PATCH] Update identity.js --- mode/identity.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mode/identity.js b/mode/identity.js index 30d72fcac..a3a2d35fb 100644 --- a/mode/identity.js +++ b/mode/identity.js @@ -2332,7 +2332,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ if(get.population('zhong')+get.population('nei')==0|| get.population('zhong')+get.population('fan')==0){ game.broadcastAll(function(){ - game.showIdentity(); + if(game.showIdentity) game.showIdentity(); if(game.zhu&&game.zhu.isAlive()&&get.population('nei')==1&&get.config('nei_fullscreenpop')) game.me.$fullscreenpop('主公 vs 内奸',null,null,false); }); }