FOB names

Remove icon
This commit is contained in:
walterroach 2020-11-29 16:26:08 -06:00
parent d7787adddc
commit 3bb08f8d30
2 changed files with 3 additions and 3 deletions

View File

@ -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:

View File

@ -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