Fix the legacy tanker.

Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1379

(cherry picked from commit 4add8534735c75865955ec7a00a45c43bcf78cde)
This commit is contained in:
Dan Albert 2021-07-02 17:17:25 -07:00
parent f250be97c7
commit d9dadfb43c
2 changed files with 4 additions and 1 deletions

View File

@ -19,6 +19,7 @@ Saves from 4.0.0 are compatible with 4.1.0.
* **[Economy]** EWRs can now be bought and sold for the correct price and can no longer be used to generate money
* **[Flight Planning]** Fixed potential issue with angles > 360° or < 0° being generated when summing two angles.
* **[Mission Generation]** The lua data for other plugins is now generated correctly
* **[Mission Generation]** The legacy always-available tanker option no longer prevents mission creation.
* **[UI]** Statistics window tick marks are now always integers.
# 4.0.0

View File

@ -127,7 +127,7 @@ class AirSupportConflictGenerator:
self.mission.country(self.game.player_country), tanker_unit_type
),
airport=None,
plane_type=tanker_unit_type,
plane_type=tanker_unit_type.dcs_unit_type,
position=tanker_position,
altitude=alt,
race_distance=58000,
@ -177,6 +177,8 @@ class AirSupportConflictGenerator:
tanker_unit_type.name,
freq,
tacan,
start_time=None,
end_time=None,
blue=True,
)
)