Build a proper type for StartType.

This commit is contained in:
Dan Albert
2021-10-22 11:29:40 -07:00
parent be69d17345
commit b0787d9a3f
8 changed files with 65 additions and 40 deletions

View File

@@ -6,6 +6,7 @@ from game.utils import nautical_miles
from ..ato.package import Package
from game.theater import MissionTarget, OffMapSpawn, ControlPoint
from ..ato.flight import Flight
from ..ato.starttype import StartType
if TYPE_CHECKING:
from game.dcs.aircrafttype import AircraftType
@@ -24,7 +25,7 @@ class PackageBuilder:
air_wing: AirWing,
is_player: bool,
package_country: str,
start_type: str,
start_type: StartType,
asap: bool,
) -> None:
self.closest_airfields = closest_airfields