mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Fix crash when planning ferry flights.
At some point this needed to be type-only to resolve a circular import, but that's fixed now. Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1698
This commit is contained in:
parent
35900c2350
commit
c60bba1166
@ -7,7 +7,7 @@ from typing import Optional, Sequence, TYPE_CHECKING
|
||||
|
||||
from faker import Faker
|
||||
|
||||
from game.ato import Flight, FlightType
|
||||
from game.ato import Flight, FlightType, Package
|
||||
from game.settings import AutoAtoBehavior, Settings
|
||||
from gen.flights.flightplan import FlightPlanBuilder
|
||||
from .pilot import Pilot, PilotStatus
|
||||
@ -15,7 +15,6 @@ from ..utils import meters
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from game import Game
|
||||
from game.ato import Package
|
||||
from game.coalition import Coalition
|
||||
from game.dcs.aircrafttype import AircraftType
|
||||
from game.theater import ControlPoint, ConflictTheater, MissionTarget
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user