Tweaking helicopter stuff

This commit is contained in:
Raffson
2023-08-19 21:10:26 +02:00
parent 8a6b7b172c
commit 9b9905c5a3
5 changed files with 10 additions and 7 deletions

View File

@@ -92,7 +92,7 @@ class AirAssaultFlightPlan(FormationAttackFlightPlan, UiZoneDisplay):
def ui_zone(self) -> UiZone:
return UiZone(
[self.layout.target.position],
[self.layout.targets[0].position],
self.ctld_target_zone_radius,
)

View File

@@ -45,6 +45,7 @@ class Builder(FormationAttackBuilder[EscortFlightPlan, FormationAttackLayout]):
)
ingress.only_for_player = True
target.only_for_player = True
hold = None
if not self.primary_flight_is_air_assault:
hold = builder.hold(self._hold_point())
elif self.package.primary_flight is not None: