From ba2a906fea2b53d58c1ca02993b411c98dc42d72 Mon Sep 17 00:00:00 2001 From: Martin Date: Mon, 12 Dec 2022 14:04:37 +0100 Subject: [PATCH] Wave settings --- assets/Data/GameSettings.json | 2 +- assets/Scripts/Game/Game.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/Data/GameSettings.json b/assets/Data/GameSettings.json index 7c4c31c..4cd8341 100644 --- a/assets/Data/GameSettings.json +++ b/assets/Data/GameSettings.json @@ -79,7 +79,7 @@ "waveEnemySpawners": [ { "startDelay": 0, - "stopDelay": 100, + "stopDelay": 10000, "cooldown": 5, "enemiesPerWave": 30, "waveLifetime": 20, diff --git a/assets/Scripts/Game/Game.ts b/assets/Scripts/Game/Game.ts index e1851f0..b74340d 100644 --- a/assets/Scripts/Game/Game.ts +++ b/assets/Scripts/Game/Game.ts @@ -95,7 +95,7 @@ export class Game extends Component { this.gamePauser.resume(); // while not dead - await delay(100000); + await delay(1000000); this.gamePauser.pause(); Game.instance = null; return 1;