simplify iSaveProfileEvery stuff and make it closer to correct

This commit is contained in:
Glenn Maynard
2007-04-24 19:36:45 +00:00
parent 73fdbf1319
commit 21b544c8ae
3 changed files with 2 additions and 15 deletions
+2 -1
View File
@@ -690,7 +690,8 @@ void GameState::FinishStage()
if( iOldStageIndex/iSaveProfileEvery < m_iCurrentStageIndex/iSaveProfileEvery )
{
LOG->Trace( "Played %i stages; saving profiles ...", iSaveProfileEvery );
PROFILEMAN->SaveAllProfiles();
PROFILEMAN->SaveMachineProfile();
this->SaveProfiles();
}
}
}