修复蓄谋牌在游戏记录中可见的Bug

This commit is contained in:
Spmario233 2024-01-18 22:38:18 +08:00
parent 92ebfbb96f
commit 80cd06f754
1 changed files with 6 additions and 1 deletions

View File

@ -8167,7 +8167,12 @@ export const Content = {
cards[0].classList.add('fakejudge');
cards[0].node.background.innerHTML = lib.translate[cards[0].viewAs + '_bg'] || get.translation(cards[0].viewAs)[0];
}
game.log(player, '被贴上了<span class="yellowtext">' + get.translation(cards[0].viewAs) + '</span>', cards, '');
if(lib.card[viewAs].blankCard){
game.log(player, '被扣置了<span class="yellowtext">' + get.translation(cards[0].viewAs) + '</span>');
}
else {
game.log(player, '被贴上了<span class="yellowtext">' + get.translation(cards[0].viewAs) + '</span>', cards, '');
}
}
else {
cards[0].classList.remove('fakejudge');