fycode_HZ_Client 4 months ago
parent
commit
d572321836
  1. 2
      assets/20010/src/controller/TexasGameFlyCtr.ts
  2. 4
      assets/20010/src/controller/TexasGameSeat.ts

2
assets/20010/src/controller/TexasGameFlyCtr.ts

@ -212,7 +212,7 @@ export class TexasGameFlyCtr extends Component {
this.tableCtr.seatCtr.getSeatClass(list[index]).showRandomBanker();
index = index + 1 >= list.length ? 0 : index + 1;
}).union().repeatForever().start();
tween(this.node).delay(1).call(() => {
tween(this.node).delay(0.5).call(() => {
this.onUpdataCurrentBankerStop({ chairId: TexasGame.table.bankerIndex, cellScore: TexasGame.table.cellScore });
}).start()
}

4
assets/20010/src/controller/TexasGameSeat.ts

@ -218,8 +218,8 @@ export class TexasGameSeat extends Component {
this._poker.coverPokers.coverPokerType.spriteFrame = await TexasGameUtils.getOperaterLanguageSpriteByPokerType(TexasGameOperateType.OperateGaveUp);
}
} else {
this._poker.turnPokers.poker_1.active = seatInfo.handPoker && seatInfo.handPoker.length > 0;
this._poker.turnPokers.poker_2.active = seatInfo.handPoker && seatInfo.handPoker.length > 0;
this._poker.turnPokers.poker_1.active = TexasGame.table.isTableStateInResult() && seatInfo.handPoker && seatInfo.handPoker.length > 0;
this._poker.turnPokers.poker_2.active = TexasGame.table.isTableStateInResult() && seatInfo.handPoker && seatInfo.handPoker.length > 0;
if (TexasGame.table.isSelfIndex(seatInfo.chairId) && seatInfo.handPoker && seatInfo.handPoker.length > 0) {
TexasGameUtils.onChangeCrad(this._poker.turnPokers.poker_1.getComponent(Sprite), `card_${seatInfo.handPoker[0]}`);
TexasGameUtils.onChangeCrad(this._poker.turnPokers.poker_2.getComponent(Sprite), `card_${seatInfo.handPoker[1]}`);

Loading…
Cancel
Save