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,7 +157,6 @@ void GameState::Reset()
|
|||||||
ResetStageStatistics();
|
ResetStageStatistics();
|
||||||
|
|
||||||
FOREACH_PlayerNumber( pn )
|
FOREACH_PlayerNumber( pn )
|
||||||
if( PROFILEMAN->ProfileWasLoadedFromMemoryCard(pn) )
|
|
||||||
PROFILEMAN->UnloadProfile( pn );
|
PROFILEMAN->UnloadProfile( pn );
|
||||||
|
|
||||||
SONGMAN->FreeAllLoadedFromProfiles();
|
SONGMAN->FreeAllLoadedFromProfiles();
|
||||||
|
|||||||
Reference in New Issue
Block a user