diff --git a/game/game.js b/game/game.js index 9a5f2dd38..3273561f7 100644 --- a/game/game.js +++ b/game/game.js @@ -53195,8 +53195,8 @@ //Get the card name length //获取此牌的字数 cardNameLength:card=>{ - const name=get.translation(get.name(card)); - return (lib.actualCardName.get(name)||name).length; + const actualCardName=lib.actualCardName,name=get.translation(get.name(card)); + return (actualCardName.has(name)?actualCardName.get(name):name).length; }, //Yingbian //应变