Skip to content

Commit

Permalink
Large ground spawn support in PretenseAircraftGenerator.
Browse files Browse the repository at this point in the history
  • Loading branch information
MetalStormGhost committed Jul 5, 2024
1 parent 2b62f59 commit 59fa77e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions game/pretense/pretenseaircraftgenerator.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ def __init__(
mission_data: MissionData,
helipads: dict[ControlPoint, list[StaticGroup]],
ground_spawns_roadbase: dict[ControlPoint, list[Tuple[StaticGroup, Point]]],
ground_spawns_large: dict[ControlPoint, list[Tuple[StaticGroup, Point]]],
ground_spawns: dict[ControlPoint, list[Tuple[StaticGroup, Point]]],
) -> None:
self.mission = mission
Expand All @@ -83,6 +84,7 @@ def __init__(
self.mission_data = mission_data
self.helipads = helipads
self.ground_spawns_roadbase = ground_spawns_roadbase
self.ground_spawns_large = ground_spawns_large
self.ground_spawns = ground_spawns

self.ewrj_package_dict: Dict[int, List[FlyingGroup[Any]]] = {}
Expand Down Expand Up @@ -925,6 +927,7 @@ def create_and_configure_flight(
self.mission,
self.helipads,
self.ground_spawns_roadbase,
self.ground_spawns_large,
self.ground_spawns,
self.mission_data,
).create_flight_group()
Expand Down

0 comments on commit 59fa77e

Please sign in to comment.