From 34bdc0e80bfc0f344a038a5c55718f9c5cde0bb7 Mon Sep 17 00:00:00 2001 From: Dan Albert Date: Fri, 1 Jan 2021 16:15:43 -0800 Subject: [PATCH] Fix new game creation. --- game/theater/controlpoint.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game/theater/controlpoint.py b/game/theater/controlpoint.py index 12745c6c..c033214b 100644 --- a/game/theater/controlpoint.py +++ b/game/theater/controlpoint.py @@ -43,7 +43,6 @@ from ..weather import Conditions if TYPE_CHECKING: from game import Game from gen.flights.flight import FlightType - from ..event import UnitsDeliveryEvent class ControlPointType(Enum): @@ -257,6 +256,7 @@ class ControlPoint(MissionTarget, ABC): self.cptype = cptype # TODO: Should be Airbase specific. self.stances: Dict[int, CombatStance] = {} + from ..event import UnitsDeliveryEvent self.pending_unit_deliveries = UnitsDeliveryEvent(self) self.target_position: Optional[Point] = None