dump recent scores to separate XML files for uploading to a web service instead of saving in stats.xml
This commit is contained in:
@@ -672,8 +672,8 @@ void ProfileManager::AddStepsScore( const Song* pSong, const Steps* pSteps, Play
|
||||
// save recent score
|
||||
//
|
||||
if( IsPersistentProfile(pn) )
|
||||
GetProfile(pn)->AddStepsRecentScore( pSong, pSteps, hs );
|
||||
GetMachineProfile()->AddStepsRecentScore( pSong, pSteps, hs );
|
||||
GetProfile(pn)->SaveStepsRecentScore( pSong, pSteps, hs );
|
||||
GetMachineProfile()->SaveStepsRecentScore( pSong, pSteps, hs );
|
||||
}
|
||||
|
||||
void ProfileManager::IncrementStepsPlayCount( const Song* pSong, const Steps* pSteps, PlayerNumber pn )
|
||||
@@ -722,8 +722,8 @@ void ProfileManager::AddCourseScore( const Course* pCourse, const Trail* pTrail,
|
||||
// save recent score
|
||||
//
|
||||
if( IsPersistentProfile(pn) )
|
||||
GetProfile(pn)->AddCourseRecentScore( pCourse, pTrail, hs );
|
||||
GetMachineProfile()->AddCourseRecentScore( pCourse, pTrail, hs );
|
||||
GetProfile(pn)->SaveCourseRecentScore( pCourse, pTrail, hs );
|
||||
GetMachineProfile()->SaveCourseRecentScore( pCourse, pTrail, hs );
|
||||
}
|
||||
|
||||
void ProfileManager::IncrementCoursePlayCount( const Course* pCourse, const Trail* pTrail, PlayerNumber pn )
|
||||
|
||||
Reference in New Issue
Block a user