mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Fix SEAD/DEAD reversal.
This commit is contained in:
parent
8bc77bbf18
commit
180537cd48
@ -615,12 +615,12 @@ class FlightPlanner:
|
|||||||
)
|
)
|
||||||
point.alt_type = "RADIO"
|
point.alt_type = "RADIO"
|
||||||
if flight.flight_type == FlightType.DEAD:
|
if flight.flight_type == FlightType.DEAD:
|
||||||
point.description = "SEAD on " + target.type
|
point.description = "DEAD on " + target.type
|
||||||
point.pretty_name = "SEAD on " + location.obj_name
|
point.pretty_name = "DEAD on " + location.obj_name
|
||||||
point.only_for_player = True
|
point.only_for_player = True
|
||||||
else:
|
else:
|
||||||
point.description = "DEAD on " + location.obj_name
|
point.description = "SEAD on " + location.obj_name
|
||||||
point.pretty_name = "DEAD on " + location.obj_name
|
point.pretty_name = "SEAD on " + location.obj_name
|
||||||
point.only_for_player = True
|
point.only_for_player = True
|
||||||
flight.points.append(point)
|
flight.points.append(point)
|
||||||
ingress_point.targets.append(location)
|
ingress_point.targets.append(location)
|
||||||
@ -634,13 +634,13 @@ class FlightPlanner:
|
|||||||
)
|
)
|
||||||
point.alt_type = "RADIO"
|
point.alt_type = "RADIO"
|
||||||
if flight.flight_type == FlightType.DEAD:
|
if flight.flight_type == FlightType.DEAD:
|
||||||
point.description = "SEAD on " + location.obj_name
|
|
||||||
point.pretty_name = "SEAD on " + location.obj_name
|
|
||||||
point.only_for_player = True
|
|
||||||
else:
|
|
||||||
point.description = "DEAD on " + location.obj_name
|
point.description = "DEAD on " + location.obj_name
|
||||||
point.pretty_name = "DEAD on " + location.obj_name
|
point.pretty_name = "DEAD on " + location.obj_name
|
||||||
point.only_for_player = True
|
point.only_for_player = True
|
||||||
|
else:
|
||||||
|
point.description = "SEAD on " + location.obj_name
|
||||||
|
point.pretty_name = "SEAD on " + location.obj_name
|
||||||
|
point.only_for_player = True
|
||||||
ingress_point.targets.append(location)
|
ingress_point.targets.append(location)
|
||||||
ingress_point.targetGroup = location
|
ingress_point.targetGroup = location
|
||||||
flight.points.append(point)
|
flight.points.append(point)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user