Merge pull request #722 from lieren2023/lieren2023-patch-3

修复未开启平民,身份标记还能选平民的bug
This commit is contained in:
Spmario233 2023-12-13 20:56:29 +08:00 committed by GitHub
commit b809f90418
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 16 additions and 6 deletions

View File

@ -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:'猜',
}
}
}
},