This commit is contained in:
libccy 2017-08-10 15:03:57 +08:00
parent 6befe305b9
commit 433764a6b7
1 changed files with 3 additions and 3 deletions

View File

@ -20230,7 +20230,7 @@
if((player==_status.roundStart||_status.roundSkipped)&&!trigger.skill){
delete _status.roundSkipped;
game.roundNumber++;
ui.cardPileNumber.innerHTML=game.roundNumber+'轮 剩余牌: '+ui.cardPile.childNodes.length;
if(ui.cardPileNumber) ui.cardPileNumber.innerHTML=game.roundNumber+'轮 剩余牌: '+ui.cardPile.childNodes.length;
for(var i=0;i<game.players.length;i++){
if(game.players[i].isOut()&&game.players[i].outCount>0){
game.players[i].outCount--;
@ -37045,7 +37045,7 @@
ui.create.card(ui.cardPile).init(lib.card.list[i]);
}
}
ui.cardPileNumber.innerHTML='0轮 剩余牌: '+ui.cardPile.childNodes.length;
if(ui.cardPileNumber) ui.cardPileNumber.innerHTML='0轮 剩余牌: '+ui.cardPile.childNodes.length;
},
},
click:{
@ -41944,7 +41944,7 @@
}
list.push(ui.cardPile.removeChild(ui.cardPile.firstChild));
}
ui.cardPileNumber.innerHTML=game.roundNumber+'轮 剩余牌: '+ui.cardPile.childNodes.length;
if(ui.cardPileNumber) ui.cardPileNumber.innerHTML=game.roundNumber+'轮 剩余牌: '+ui.cardPile.childNodes.length;
if(card) return list[0];
return list;
},