mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
Fix recreate as CAP for ground targets.
This commit is contained in:
parent
9c07fe5963
commit
ac05c7cfaa
@ -149,7 +149,7 @@ class QFlightWaypointTab(QFrame):
|
|||||||
if task == FlightType.CAP:
|
if task == FlightType.CAP:
|
||||||
if isinstance(self.package.target, FrontLine):
|
if isinstance(self.package.target, FrontLine):
|
||||||
task = FlightType.TARCAP
|
task = FlightType.TARCAP
|
||||||
elif isinstance(self.package.target, ControlPoint):
|
else:
|
||||||
task = FlightType.BARCAP
|
task = FlightType.BARCAP
|
||||||
self.flight.flight_type = task
|
self.flight.flight_type = task
|
||||||
self.planner.populate_flight_plan(self.flight)
|
self.planner.populate_flight_plan(self.flight)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user