Fix Music Event Targets
This commit is contained in:
parent
d955c9da2f
commit
8d76c2d37d
6 changed files with 35 additions and 33 deletions
|
|
@ -188,8 +188,7 @@ public class Sector
|
|||
|
||||
CalculateFactionInfluence(progressCallback);
|
||||
|
||||
Entrance = ConnectedRegion(HomeZones[protagonistFaction], 2)
|
||||
.MaxBy(z => z.Distance[HomeZones[antagonistFaction]]);
|
||||
Entrance = Zones.Where(z => z.Owner == null).MinBy(z => z.Distance[HomeZones[protagonistFaction]]);
|
||||
|
||||
DiscoveredZones.Add(Entrance);
|
||||
foreach(var z in Entrance.AdjacentZones) DiscoveredZones.Add(z);
|
||||
|
|
|
|||
Loading…
Reference in a new issue