unload all profiles on reset, not just ones loaded from memory cards;
fixes wrong profile being used when a card is inserted too late and a new game starts (local profile was already loaded)
This commit is contained in:
@@ -157,8 +157,7 @@ void GameState::Reset()
|
||||
ResetStageStatistics();
|
||||
|
||||
FOREACH_PlayerNumber( pn )
|
||||
if( PROFILEMAN->ProfileWasLoadedFromMemoryCard(pn) )
|
||||
PROFILEMAN->UnloadProfile( pn );
|
||||
PROFILEMAN->UnloadProfile( pn );
|
||||
|
||||
SONGMAN->FreeAllLoadedFromProfiles();
|
||||
SONGMAN->UpdateBest();
|
||||
|
||||
Reference in New Issue
Block a user