Try to fix playing without music.
This commit is contained in:
parent
7d0875878b
commit
84a84b6776
@ -165,7 +165,7 @@ void MusicManager::addMusicToTracks()
|
|||||||
*/
|
*/
|
||||||
void MusicManager::startMusic()
|
void MusicManager::startMusic()
|
||||||
{
|
{
|
||||||
if (m_current_music)
|
if (m_current_music && UserConfigParams::m_music)
|
||||||
SFXManager::get()->queue(SFXManager::SFX_MUSIC_START, m_current_music);
|
SFXManager::get()->queue(SFXManager::SFX_MUSIC_START, m_current_music);
|
||||||
} // startMusic
|
} // startMusic
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user