mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Account for aircaft's task-priorities in AirWing.best_squadrons_for
This commit is contained in:
parent
f5bb653ad8
commit
2cba1f4124
@ -89,6 +89,7 @@ class AirWing:
|
||||
# This looks like the opposite of what we want because False sorts
|
||||
# before True.
|
||||
s.primary_task != task,
|
||||
best_aircraft.index(s.aircraft),
|
||||
s.location.distance_to(location),
|
||||
),
|
||||
)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user