From f8ac39fb82e0ec5c1fa87eca21b1324933d75f5f Mon Sep 17 00:00:00 2001 From: Dan Albert Date: Tue, 20 Oct 2020 00:10:37 -0700 Subject: [PATCH] Fix min/max inversion in wind setting. --- game/weather.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game/weather.py b/game/weather.py index a9ac5141..d6775614 100644 --- a/game/weather.py +++ b/game/weather.py @@ -71,7 +71,7 @@ class Weather: return WindConditions( # 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_8000m=Wind(wind_direction, base_wind * at_8000m_factor) )