Add support for DCS 2.7 weather generation.

https://github.com/Khopa/dcs_liberation/issues/981
This commit is contained in:
Dan Albert
2021-04-15 19:42:33 -07:00
parent e63743f537
commit 38f632097e
4 changed files with 83 additions and 44 deletions

View File

@@ -17,6 +17,7 @@ class EnvironmentGenerator:
self.mission.weather.clouds_thickness = clouds.thickness
self.mission.weather.clouds_density = clouds.density
self.mission.weather.clouds_iprecptns = clouds.precipitation
self.mission.weather.clouds_preset = clouds.preset
def set_fog(self, fog: Optional[Fog]) -> None:
if fog is None: