From 5b5c5a4963f3cabc0bcf6b120bba729eaa70a2a4 Mon Sep 17 00:00:00 2001 From: lieren2023 <131325076+lieren2023@users.noreply.github.com> Date: Tue, 5 Dec 2023 14:25:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=9C=AA=E5=BC=80=E5=90=AF?= =?UTF-8?q?=E5=B9=B3=E6=B0=91=EF=BC=8C=E8=BA=AB=E4=BB=BD=E6=A0=87=E8=AE=B0?= =?UTF-8?q?=E8=BF=98=E8=83=BD=E9=80=89=E5=B9=B3=E6=B0=91=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mode/identity.js | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/mode/identity.js b/mode/identity.js index dbe1018b6..2ca70b2ac 100644 --- a/mode/identity.js +++ b/mode/identity.js @@ -555,12 +555,22 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ } } else{ - return { - fan:'反', - zhong:'忠', - nei:'内', - commoner:'民', - cai:'猜', + if(get.config('enable_commoner')){ + return { + fan:'反', + zhong:'忠', + nei:'内', + commoner:'民', + cai:'猜', + } + } + else{ + return { + fan:'反', + zhong:'忠', + nei:'内', + cai:'猜', + } } } },