|
|
@ -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]}`); |
|
|
|