Fix "reload songs" erasing scores
This commit is contained in:
@@ -102,6 +102,7 @@ void SongManager::Reload()
|
|||||||
{
|
{
|
||||||
FlushDirCache();
|
FlushDirCache();
|
||||||
|
|
||||||
|
SaveMachineScoresToDisk();
|
||||||
FreeSongs();
|
FreeSongs();
|
||||||
FreeCourses();
|
FreeCourses();
|
||||||
|
|
||||||
@@ -111,6 +112,7 @@ void SongManager::Reload()
|
|||||||
InitSongsFromDisk(NULL);
|
InitSongsFromDisk(NULL);
|
||||||
InitCoursesFromDisk(NULL);
|
InitCoursesFromDisk(NULL);
|
||||||
InitAutogenCourses();
|
InitAutogenCourses();
|
||||||
|
InitMachineScoresFromDisk();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user