mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Fix new game creation.
This commit is contained in:
parent
61d7d5e041
commit
34bdc0e80b
@ -43,7 +43,6 @@ from ..weather import Conditions
|
|||||||
if TYPE_CHECKING:
|
if TYPE_CHECKING:
|
||||||
from game import Game
|
from game import Game
|
||||||
from gen.flights.flight import FlightType
|
from gen.flights.flight import FlightType
|
||||||
from ..event import UnitsDeliveryEvent
|
|
||||||
|
|
||||||
|
|
||||||
class ControlPointType(Enum):
|
class ControlPointType(Enum):
|
||||||
@ -257,6 +256,7 @@ class ControlPoint(MissionTarget, ABC):
|
|||||||
self.cptype = cptype
|
self.cptype = cptype
|
||||||
# TODO: Should be Airbase specific.
|
# TODO: Should be Airbase specific.
|
||||||
self.stances: Dict[int, CombatStance] = {}
|
self.stances: Dict[int, CombatStance] = {}
|
||||||
|
from ..event import UnitsDeliveryEvent
|
||||||
self.pending_unit_deliveries = UnitsDeliveryEvent(self)
|
self.pending_unit_deliveries = UnitsDeliveryEvent(self)
|
||||||
|
|
||||||
self.target_position: Optional[Point] = None
|
self.target_position: Optional[Point] = None
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user