add ProfileManager::SaveAllProfiles
make ProfileManager::SaveMachineProfile() const
This commit is contained in:
@@ -359,14 +359,13 @@ void GameState::EndGame()
|
||||
CHECKPOINT;
|
||||
}
|
||||
BOOKKEEPER->WriteToDisk();
|
||||
PROFILEMAN->SaveMachineProfile();
|
||||
PROFILEMAN->SaveAllProfiles();
|
||||
|
||||
FOREACH_HumanPlayer( pn )
|
||||
{
|
||||
if( !PROFILEMAN->IsUsingProfile(pn) )
|
||||
continue;
|
||||
|
||||
PROFILEMAN->SaveProfile( pn );
|
||||
PROFILEMAN->UnloadProfile( pn );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user