diff --git a/changelog.md b/changelog.md index 8f829d52..780a1248 100644 --- a/changelog.md +++ b/changelog.md @@ -50,6 +50,7 @@ Saves from 2.3 are not compatible with 2.4. * **[UI]** Create Flight comboboxes now stretch to adjust to the size of their contents. * **[Factions]** USA with C-130 faction now links to the required mod. * **[Campaign]** Fixed issue where destroyed buildings would sometimes not count as destroyed and thus respawn. +* **[Campaign]** Fixed issue where destroyed runways were not registered. * **[Units]** J-11A is no longer spawned with empty loadout. * **[Units]** F-14B is no longer spawned with empty loadout for fighter sweep tasks. * **[Units]** Pyotr Velikiy cruiser has been removed for now as it's nearly unkillable. diff --git a/game/theater/controlpoint.py b/game/theater/controlpoint.py index 6c9c7791..1ca122af 100644 --- a/game/theater/controlpoint.py +++ b/game/theater/controlpoint.py @@ -235,7 +235,7 @@ class ControlPoint(MissionTarget, ABC): at: db.StartingPosition, size: int, importance: float, has_frontline=True, cptype=ControlPointType.AIRBASE): - super().__init__(" ".join(re.split(r"[ \-]", name)[:2]), position) + super().__init__(name, position) # TODO: Should be Airbase specific. self.id = cp_id self.full_name = name