mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
Fix min/max inversion in wind setting.
This commit is contained in:
parent
eb69d01067
commit
f8ac39fb82
@ -71,7 +71,7 @@ class Weather:
|
|||||||
|
|
||||||
return WindConditions(
|
return WindConditions(
|
||||||
# Always some wind to make the smoke move a bit.
|
# Always some wind to make the smoke move a bit.
|
||||||
at_0m=Wind(wind_direction, min(1, base_wind * at_0m_factor)),
|
at_0m=Wind(wind_direction, max(1, base_wind * at_0m_factor)),
|
||||||
at_2000m=Wind(wind_direction, base_wind * at_2000m_factor),
|
at_2000m=Wind(wind_direction, base_wind * at_2000m_factor),
|
||||||
at_8000m=Wind(wind_direction, base_wind * at_8000m_factor)
|
at_8000m=Wind(wind_direction, base_wind * at_8000m_factor)
|
||||||
)
|
)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user