diff --git a/changelog.md b/changelog.md index 6590724e..5063e136 100644 --- a/changelog.md +++ b/changelog.md @@ -18,6 +18,7 @@ Saves from 2.5 are not compatible with 3.0. * **[Flight Planner]** Taxi time estimation for airfields increased from 5 minutes to 8 minutes. * **[Flight Planner]** Reduce expected error margin for flight plans from 10% to 5%. * **[Flight Planner]** SEAD flights are scheduled one minute ahead of the package's TOT so that they can suppress the site ahead of the strike. +* **[Flight Planner]** Automatic ATO generation for the player's coalition can now be disabled in the settings. * **[Payloads]** AI flights for most air to ground mission types (CAS excluded) will have their guns emptied to prevent strafing fully armed and operational battle stations. Gun-reliant airframes like A-10s and warbirds will keep their bullets. * **[Kneeboard]** ATC table overflow alleviated by wrapping long airfield names and splitting ATC frequency and channel into separate rows. * **[UI]** Added new web based map UI. This is mostly functional but many of the old display options are a WIP. Revert to the old map with --old-map. diff --git a/game/game.py b/game/game.py index 4eb4a246..995305a0 100644 --- a/game/game.py +++ b/game/game.py @@ -33,7 +33,7 @@ from .infos.information import Information from .navmesh import NavMesh from .procurement import AircraftProcurementRequest, ProcurementAi from .profiling import logged_duration -from .settings import Settings +from .settings import Settings, AutoAtoBehavior from .squadrons import Pilot, AirWing from .theater import ConflictTheater from .theater.bullseye import Bullseye @@ -408,8 +408,9 @@ class Game: self.transfers.plan_transports() with logged_duration("Mission planning"): - blue_planner = CoalitionMissionPlanner(self, is_player=True) - blue_planner.plan_missions() + if self.settings.auto_ato_behavior is not AutoAtoBehavior.Disabled: + blue_planner = CoalitionMissionPlanner(self, is_player=True) + blue_planner.plan_missions() red_planner = CoalitionMissionPlanner(self, is_player=False) red_planner.plan_missions()