diff --git a/game/game.js b/game/game.js index bcb7a5158..feb9d4766 100644 --- a/game/game.js +++ b/game/game.js @@ -42235,11 +42235,11 @@ }); }, updateRoundNumber:()=>{ - game.broadcastAll((roundNumber,pileTop)=>{ + game.broadcastAll((roundNumber,pileTop,pileNumber)=>{ if(game.roundNumber!=roundNumber) game.roundNumber=roundNumber; if(_status.pileTop!=pileTop) _status.pileTop=pileTop; - ui.updateRoundNumber(roundNumber); - },game.roundNumber,ui.cardPile.firstChild); + ui.updateRoundNumber(roundNumber,pileNumber); + },game.roundNumber,ui.cardPile.firstChild,ui.cardPile.childElementCount); }, asyncDraw:(players,num,drawDeck,bottom)=>players.forEach((value,index)=>{ let num2=1; @@ -57931,7 +57931,7 @@ ].join(''))); } }, - updateRoundNumber:(cardPileNumber)=>{ + updateRoundNumber:(roundNumber,cardPileNumber)=>{ if(ui.cardPileNumber) ui.cardPileNumber.innerHTML=`${roundNumber}轮 剩余牌: ${cardPileNumber}`; }, };