Browse Source

结算飞金币

master
cristianoxin 5 months ago
parent
commit
381789fd1d
  1. 6
      assets/10001/src/game/logic/TeemPattieChouMaLogic.ts
  2. 2
      assets/10001/src/game/logic/TeenPattieJieSuanLogic.ts

6
assets/10001/src/game/logic/TeemPattieChouMaLogic.ts

@ -31,9 +31,9 @@ export class TeemPattieChouMaLogic extends Component{
/**筹码飞向赢家 */
revert(seatId:number,selfId:number,callback?:()=>void){
const self = this;
if(!this.isSetPos){
this.setPosNode(selfId);
}
// if(!this.isSetPos){
// this.setPosNode(selfId);
// }
const pos = this.posNode[seatId-1];

2
assets/10001/src/game/logic/TeenPattieJieSuanLogic.ts

@ -26,7 +26,7 @@ export class TeenPattieJieSuanLogic extends Component{
ow.clearTimer();
if (value.winSeatId == ow.data?.SeatId) {
ow.chouMa.revert(ow.data?.SeatId,ow.playerSeatId, this.onGameOver.bind(this));
ow.chouMa.revert(ow.seat_id,ow.playerSeatId, this.onGameOver.bind(this));
}
if (value.winSeatId != ow.data?.SeatId){
ow.recordNum.string = `-${ow.xiazhuNum.string}`;

Loading…
Cancel
Save