don't FinishStage in EndGame

This commit is contained in:
Glenn Maynard
2007-04-17 17:58:51 +00:00
parent 352067b509
commit afb6bc29d3
2 changed files with 2 additions and 4 deletions
+1
View File
@@ -212,6 +212,7 @@ void GameLoop::RunGameLoop()
}
/* If we ended mid-game, finish up. */
GAMESTATE->FinishStage();
GAMESTATE->EndGame();
if( ChangeAppPri() )
+1 -4
View File
@@ -219,6 +219,7 @@ void GameState::ApplyCmdline()
void GameState::Reset()
{
FinishStage();
EndGame();
ASSERT( THEME );
@@ -458,10 +459,6 @@ void GameState::EndGame()
if( m_timeGameStarted.IsZero() || !STATSMAN->m_vPlayedStageStats.size() ) // we were in the middle of a game and played at least one song
return;
/* Finish the final stage. */
FinishStage();
// Update totalPlaySeconds stat
int iPlaySeconds = max( 0, (int) m_timeGameStarted.PeekDeltaTime() );