[splittiming] load split timing from ssc files

This commit is contained in:
Thai Pangsakulyanont
2011-05-10 17:44:12 +07:00
parent d0e9e58030
commit ce91d1a431
5 changed files with 41 additions and 35 deletions
+6
View File
@@ -863,6 +863,12 @@ void Song::Save()
ReCalculateRadarValuesAndLastBeat();
TranslateTitles();
// TODO: Figure out a better way to save to Song's timing data.
if( m_vpSteps.size() == 1 )
{
m_SongTiming = m_vpSteps[0]->m_Timing;
}
// Save the new files. These calls make backups on their own.
if( !SaveToSSCFile(GetSongFilePath(), false) )