1
0
Fork 0

Launcher: fix local-weather warning

When a weather scenario doesn’t specify any local-weather data, we
will use METAR anyway, so remove the warning.
This commit is contained in:
Automatic Release Builder 2020-09-28 16:17:46 +01:00 committed by James Turner
parent 6178457097
commit e5a9491d34

View file

@ -217,8 +217,7 @@ Item {
// set AW tile options
var s = _weatherScenarios.localWeatherData(index);
if (s.length === 0) {
console.warn("Weather scenario " + _weatherScenarios.nameForItem(index)
+ " does not specify local weather data");
// local weather will use METAR
} else {
_config.setProperty("/local-weather/tmp/tile-management", s[0]);
_config.setProperty("/local-weather/tmp/tile-type", s[1]);