mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Build a proper type for StartType.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user