mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Scrub unplannable missions
Prevents generating support flights like TARCAP when the a main task is unplannable, e.g. an Air Assault.
This commit is contained in:
parent
2ef84fd6a6
commit
4722a558b8
@ -157,7 +157,8 @@ class PackageFulfiller:
|
||||
# This air wing can never plan this mission type because they do not
|
||||
# have compatible aircraft or squadrons. Skip fulfillment so that we
|
||||
# don't place the purchase request.
|
||||
continue
|
||||
missing_types.add(proposed_flight.task)
|
||||
break
|
||||
if proposed_flight.escort_type is not None:
|
||||
# Escorts are planned after the primary elements of the package.
|
||||
# If the package does not need escorts they may be pruned.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user