diff --git a/game/theater/start_generator.py b/game/theater/start_generator.py index 0d325d70..c4174c3b 100644 --- a/game/theater/start_generator.py +++ b/game/theater/start_generator.py @@ -727,7 +727,7 @@ class FobGroundObjectGenerator(AirbaseGroundObjectGenerator): template_point = Point(unit["offset"].x, unit["offset"].y) g = BuildingGroundObject( obj_name, category, group_id, object_id, point + template_point, - unit["heading"], self.control_point, unit["type"]) + unit["heading"], self.control_point, unit["type"], airbase_group=True) self.control_point.connected_objectives.append(g) class GroundObjectGenerator: diff --git a/game/theater/theatergroundobject.py b/game/theater/theatergroundobject.py index 7f3f44a9..be5c0a18 100644 --- a/game/theater/theatergroundobject.py +++ b/game/theater/theatergroundobject.py @@ -140,7 +140,7 @@ class TheaterGroundObject(MissionTarget): class BuildingGroundObject(TheaterGroundObject): def __init__(self, name: str, category: str, group_id: int, object_id: int, position: Point, heading: int, control_point: ControlPoint, - dcs_identifier: str) -> None: + dcs_identifier: str, airbase_group=False) -> None: super().__init__( name=name, category=category, @@ -149,7 +149,7 @@ class BuildingGroundObject(TheaterGroundObject): heading=heading, control_point=control_point, dcs_identifier=dcs_identifier, - airbase_group=False, + airbase_group=airbase_group, sea_object=False ) self.object_id = object_id