diff --git a/game/game.js b/game/game.js index 4719ba8a9..498e8ba4f 100644 --- a/game/game.js +++ b/game/game.js @@ -56037,7 +56037,7 @@ //Get the card name length //获取此牌的字数 cardNameLength:(card,player)=>{ - const actualCardName=lib.actualCardName,name=get.translation(get.name(card,player)); + const actualCardName=lib.actualCardName,name=get.translation(typeof card=='string'?card:get.name(card,player)); return (actualCardName.has(name)?actualCardName.get(name):name).length; }, //Yingbian