Fix injection of static weather scenarios

This commit is contained in:
Roland Winklmeier
2016-08-08 21:54:19 +02:00
committed by Mathew Sutcliffe
parent 227262c2cc
commit 82324d3246
3 changed files with 3 additions and 3 deletions

View File

@@ -358,7 +358,7 @@ namespace BlackSimPlugin
void CSimulatorFs9::ps_reloadSettings()
{
auto selectedWeatherScenario = m_weatherScenarioSettings.get();
if (CWeatherScenario::isRealWeatherScenario(selectedWeatherScenario))
if (!CWeatherScenario::isRealWeatherScenario(selectedWeatherScenario))
{
m_lastWeatherPosition = {};
injectWeatherGrid(CWeatherGrid::getByScenario(selectedWeatherScenario));