mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-20 06:40:09 +00:00
Fix music during a new game start
This commit is contained in:
parent
e25e867d77
commit
cbb4c1bb9a
@ -392,7 +392,9 @@ namespace MWWorld
|
||||
std::string_view video = Fallback::Map::getString("Movies_New_Game");
|
||||
if (!video.empty())
|
||||
{
|
||||
// Make sure that we do not continue to play a Title music after a new game video.
|
||||
MWBase::Environment::get().getSoundManager()->stopMusic();
|
||||
MWBase::Environment::get().getSoundManager()->playPlaylist(std::string("Explore"));
|
||||
MWBase::Environment::get().getWindowManager()->playVideo(video, true);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user