diff --git a/Assets/Scripts/Game/GameManager.cs b/Assets/Scripts/Game/GameManager.cs index cf152f8..2987f52 100644 --- a/Assets/Scripts/Game/GameManager.cs +++ b/Assets/Scripts/Game/GameManager.cs @@ -53,7 +53,7 @@ namespace Game { } private IEnumerator SpawnLoop(Spawnable spawnable) { - SpawnRate required = SpawnRate.Normal; //Settings.SpawnRates[spawnable]; + SpawnRate required = Settings.SpawnRates[spawnable]; if (required == SpawnRate.Never) yield break; float baseSeconds = spawnRates.First(s => s.spawnable == spawnable).values.First(v => v.spawnRate == required).baseSeconds; @@ -85,9 +85,6 @@ namespace Game { } private void SetupPlayers() { - Settings.Type = Type.Hybrid; - Settings.AIDifficulty = Difficulty.VeryHard; - var p1Obj = Instantiate(playerPrefab); var p2Obj = Instantiate(playerPrefab);