File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -550,7 +550,6 @@ void Track::loadTrackInfo()
550550 root->get (" version" , &m_version);
551551 std::vector<std::string> filenames;
552552 root->get (" music" , &filenames);
553- getMusicInformation (filenames, m_music);
554553 root->get (" screenshot" , &m_screenshot);
555554 root->get (" gravity" , &m_gravity);
556555 root->get (" friction" , &m_friction);
@@ -573,6 +572,7 @@ void Track::loadTrackInfo()
573572 root->get (" color-level-in" , &m_color_inlevel);
574573 root->get (" color-level-out" , &m_color_outlevel);
575574
575+ getMusicInformation (filenames, m_music);
576576 if (m_default_number_of_laps <= 0 )
577577 m_default_number_of_laps = 3 ;
578578 m_actual_number_of_laps = m_default_number_of_laps;
@@ -702,7 +702,7 @@ void Track::getMusicInformation(std::vector<std::string>& filenames,
702702
703703 } // for i in filenames
704704
705- if (m_music.empty ())
705+ if (m_music.empty () && ! isInternal () && !m_is_cutscene )
706706 {
707707 m_music.push_back (stk_config->m_default_music );
708708
You can’t perform that action at this time.
0 commit comments