diff --git a/assets/20015/src/content/ui/RingGame20015Main.ts b/assets/20015/src/content/ui/RingGame20015Main.ts index 359942a..cf8e8d1 100644 --- a/assets/20015/src/content/ui/RingGame20015Main.ts +++ b/assets/20015/src/content/ui/RingGame20015Main.ts @@ -81,7 +81,8 @@ export class RingGame20015Main extends Component{ return; } if(this.isSpeedUp){ - if(!this.isCanStop&&(this.speed < this.rollSpeed)) this.speed += this.averageSpeedUp; + // if(!this.isCanStop&&(this.speed < this.rollSpeed)) this.speed += this.averageSpeedUp; + if(this.speed < this.rollSpeed) this.speed += this.averageSpeedUp; }else{ this.speed = this.idleSpeed; } @@ -150,9 +151,13 @@ export class RingGame20015Main extends Component{ } private notAutoStop(){ this.isSpeedUp = false; + this.isRoll = false; + this.isCanStop = false; + this.tweenRollEddect(); } private tweenRollEddect(){ + if(!this.gameResult) return let tw:Tween = tween(this.roll) .to(0.5,{eulerAngles:v3(0,0,-this.stopAngle)}) .call(()=>{ @@ -164,6 +169,7 @@ export class RingGame20015Main extends Component{ } private winShowEffect(){ + if(!this.gameResult) return AudioManager.getInstance().stopSound(RingGame20015Sound.turn); this.winBet.string = "x" + `${this.gameResult.multiple}`; this.winNum.string = `${CommTool20015.RideThousand(this.gameResult.winAmount)}`; @@ -196,6 +202,7 @@ export class RingGame20015Main extends Component{ this.isRoll = false; Message.send(RingGame20015Event.SHOW_WIM_MULTIPLE,false); Message.send(RingGame20015Event.SHOW_BET_RESULT,this.gameResult); + this.gameResult = null; }) .start(); }