add logging for helping debug a crash
This commit is contained in:
@@ -242,10 +242,14 @@ void StatsManager::CommitStatsToProfiles( const StageStats *pSS )
|
|||||||
pPlayerProfile->m_iNumTotalSongsPlayed += pSS->m_vpPlayedSongs.size();
|
pPlayerProfile->m_iNumTotalSongsPlayed += pSS->m_vpPlayedSongs.size();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
LOG->Trace("Adding stats to machine profile...");
|
||||||
AddPlayerStatsToProfile( pMachineProfile, *pSS, pn );
|
AddPlayerStatsToProfile( pMachineProfile, *pSS, pn );
|
||||||
|
|
||||||
if( pPlayerProfile )
|
if( pPlayerProfile )
|
||||||
|
{
|
||||||
|
LOG->Trace("Adding stats to player profile...");
|
||||||
AddPlayerStatsToProfile( pPlayerProfile, *pSS, pn );
|
AddPlayerStatsToProfile( pPlayerProfile, *pSS, pn );
|
||||||
|
}
|
||||||
|
|
||||||
CHECKPOINT;
|
CHECKPOINT;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user