Fix actorSpawnManager use only one spawnpoint at the moment

This commit is contained in:
N.N
2024-06-01 10:36:23 +02:00
committed by Gustas
parent 64b2bd4735
commit 0c572a862c

View File

@@ -114,6 +114,9 @@ namespace OpenRA.Mods.Common.Traits
// Always spawn at least one actor, plus
// however many needed to reach the minimum.
SpawnActor(self, spawnPoint);
// choose new random SpawnPoint for each actor
spawnPoint = GetRandomSpawnPoint(self.World, self.World.SharedRandom);
}
while (actorsPresent < info.Minimum);
}