Move the start type requirement into ControlPoint.

This commit is contained in:
Dan Albert
2021-08-31 22:09:39 -07:00
parent 18eb661e84
commit e0047b1bbc
3 changed files with 15 additions and 4 deletions

View File

@@ -349,13 +349,17 @@ class AirliftPlanner:
else:
transfer = self.transfer
start_type = squadron.location.required_aircraft_start_type
if start_type is None:
start_type = self.game.settings.default_start_type
flight = Flight(
self.package,
self.game.country_for(squadron.player),
squadron,
flight_size,
FlightType.TRANSPORT,
self.game.settings.default_start_type,
start_type,
departure=squadron.location,
arrival=squadron.location,
divert=None,