Fix aggressive objectives in Abu Dhabi.

Some of the objective locations for the starting front line are too
aggressive and put opfor at a disadvantage since blue ships might start
so close to their bases.
This commit is contained in:
Dan Albert 2021-05-07 19:37:25 -07:00
parent 426f06045e
commit 58ffabe2d6
3 changed files with 2 additions and 1 deletions

View File

@ -17,6 +17,7 @@ Saves from 2.5 are not compatible with 3.0.
* **[Campaign AI]** Fixed bug causing AI to over-purchase cheap aircraft.
* **[Campaign AI]** Auto planner will no longer attempt to plan missions for which the faction has no compatible aircraft.
* **[Campaign AI]** Stop purchasing aircraft after the first unaffordable package to attempt to complete more packages rather than filling airfields with cheap escorts that will never be used.
* **[Campaign]** Fixed bug where offshore strike locations were being used to spawn ship objectives.
# 2.5.1

View File

@ -204,7 +204,7 @@ class ControlPointGroundObjectGenerator:
self.generate_ship()
def generate_ship(self) -> None:
point = self.location_finder.location_for(LocationType.OffshoreStrikeTarget)
point = self.location_finder.location_for(LocationType.Ship)
if point is None:
return