fix catalog.xml out of date after reloading songs

This commit is contained in:
Chris Danford
2006-05-16 06:01:12 +00:00
parent 721d2083b9
commit f22d32f70a
4 changed files with 8 additions and 3 deletions
+2
View File
@@ -34,6 +34,7 @@
#include "CourseLoaderCRS.h"
#include "TitleSubstitution.h"
#include "LocalizedString.h"
#include "CatalogXml.h"
SongManager* SONGMAN = NULL; // global and accessable from anywhere in our program
@@ -99,6 +100,7 @@ void SongManager::Reload( bool bAllowFastLoad, LoadingWindow *ld )
// reload scores and unlocks afterward
PROFILEMAN->LoadMachineProfile();
UNLOCKMAN->Reload();
CatalogXml::Save( NULL );
if( !bAllowFastLoad )
PREFSMAN->m_bFastLoad.Set( OldVal );