diff --git a/Source/Managers/MusicMan.cpp b/Source/Managers/MusicMan.cpp index ff651df69..991b05f8f 100644 --- a/Source/Managers/MusicMan.cpp +++ b/Source/Managers/MusicMan.cpp @@ -101,6 +101,7 @@ void MusicMan::ResetMusicState() { bool MusicMan::PlayDynamicSong(const std::string& songName, const std::string& songSectionType, bool playImmediately, bool playTransition, bool smoothFade) { if (const DynamicSong* dynamicSongToPlay = dynamic_cast(g_PresetMan.GetEntityPreset("DynamicSong", songName))) { m_CurrentSong = std::unique_ptr(dynamic_cast(dynamicSongToPlay->Clone())); + m_NextSongSection = nullptr; SetNextSongSectionType(songSectionType); SelectNextSongSection(); SelectNextSoundContainer(playTransition);