mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-26 06:21:29 -04:00
Fixes #417: Apply weather instantly when teleporting
Correction to previous commit - WeatherManager->update() will always be called. Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
This commit is contained in:
parent
e9844e1b37
commit
101813fd0d
@ -2252,9 +2252,7 @@ namespace MWWorld
|
|||||||
mPlayer->setTeleported(false);
|
mPlayer->setTeleported(false);
|
||||||
mWeatherManager->switchToNextWeather(true);
|
mWeatherManager->switchToNextWeather(true);
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
mWeatherManager->update(duration);
|
||||||
mWeatherManager->update (duration);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user