move name refresh from BeginGame to EndGame

This commit is contained in:
Chris Danford
2004-05-01 21:34:16 +00:00
parent f9ee3daede
commit 66e65849da
+2 -2
View File
@@ -223,8 +223,6 @@ void GameState::BeginGame()
// play attract on the ending screen, then in one more whole attract
// sequence after the game is over (even if attract sounds are set to off)
m_iNumTimesThroughAttract = -2;
MEMCARDMAN->RefreshNames();
}
void CheckStageStats( const StageStats &ss, int p )
@@ -370,6 +368,8 @@ void GameState::EndGame()
PROFILEMAN->UnloadProfile( pn );
}
MEMCARDMAN->RefreshNames();
// Reset the USB storage device numbers -after- saving
CHECKPOINT;
MEMCARDMAN->FlushAllDisks();