Fix missing import for new package on enemy CVs.

Fixes https://github.com/Khopa/dcs_liberation/issues/570
This commit is contained in:
Dan Albert 2020-12-13 13:44:10 -08:00
parent 80778aa267
commit e887082501

View File

@ -530,6 +530,7 @@ class NavalControlPoint(ControlPoint, ABC):
def mission_types(self, for_player: bool) -> Iterator[FlightType]: def mission_types(self, for_player: bool) -> Iterator[FlightType]:
yield from super().mission_types(for_player) yield from super().mission_types(for_player)
from gen.flights.flight import FlightType
if self.is_friendly(for_player): if self.is_friendly(for_player):
yield from [ yield from [
# TODO: FlightType.INTERCEPTION # TODO: FlightType.INTERCEPTION