Fix Bringer of Death spawn limit

This commit is contained in:
2023-10-23 11:22:13 +02:00
parent 9605c09f5d
commit add4920e22
+4 -4
View File
@@ -10,9 +10,9 @@ public class Spawner : MonoBehaviour
private float _radius = 5f;
private int spawnedMayors = 0;
private int spawnedMinautor = 0;
private int spawnedBringerOfDeath = 0;
[SerializeField] private int spawnedMayors = 0;
[SerializeField] private int spawnedMinautor = 0;
[SerializeField] private int spawnedBringerOfDeath = 0;
private readonly int mayorsLimit = 300;
private readonly int minautorsLimit = 15;
@@ -77,7 +77,7 @@ public class Spawner : MonoBehaviour
case "Minautor":
spawnedMinautor++;
break;
case "Bringer of Death":
case "Bringer":
spawnedBringerOfDeath++;
break;
}