Fix the legacy tanker.

Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1379
This commit is contained in:
Dan Albert 2021-07-02 17:17:25 -07:00
parent b2db27f9aa
commit 4add853473
2 changed files with 4 additions and 1 deletions

View File

@ -27,6 +27,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,
)
)