diff --git a/changelog.md b/changelog.md index b743de27..7859c58e 100644 --- a/changelog.md +++ b/changelog.md @@ -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 diff --git a/game/theater/start_generator.py b/game/theater/start_generator.py index 32688b1e..f2b84d25 100644 --- a/game/theater/start_generator.py +++ b/game/theater/start_generator.py @@ -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 diff --git a/resources/campaigns/battle_of_abu_dhabi.miz b/resources/campaigns/battle_of_abu_dhabi.miz index e7dbdbe1..d1670f14 100644 Binary files a/resources/campaigns/battle_of_abu_dhabi.miz and b/resources/campaigns/battle_of_abu_dhabi.miz differ