diff --git a/assets/_Game/Scripts/Manager/GameManager.ts b/assets/_Game/Scripts/Manager/GameManager.ts index 046486d..e3b539f 100644 --- a/assets/_Game/Scripts/Manager/GameManager.ts +++ b/assets/_Game/Scripts/Manager/GameManager.ts @@ -222,7 +222,7 @@ export class GameManager extends Singleton() { private setCurrentBallInGame(value: number) { this._currentBallInGame += value; - if (this._currentBallInGame >= 2) { + if (value > 0 && this._currentBallInGame >= 2) { this._isMultiBall = true; EventManger.instance.emit(GameEvent.MultiBall, true); this._ballPool.actives.forEach((ball) => ball.getComponent(Ball).playMultiBallEffect()); @@ -261,7 +261,6 @@ export class GameManager extends Singleton() { SoundManager.instance.playSfx(this._ballOutSound); this.DisableAllBooster(); await Utilities.delay(TimeConfig.DelayPLay); - this.spawnBall(true); } }