Save prefs explicitly, not in ~PrefsManager, so we don't try to save

if one of the other classes threw an exception.
This commit is contained in:
Glenn Maynard
2002-12-09 22:31:21 +00:00
parent fddcc849b2
commit c89b8bbecd
2 changed files with 3 additions and 2 deletions
-2
View File
@@ -73,8 +73,6 @@ PrefsManager::PrefsManager()
PrefsManager::~PrefsManager()
{
SaveGlobalPrefsToDisk();
SaveGamePrefsToDisk();
}
void PrefsManager::ReadGlobalPrefsFromDisk( bool bSwitchToLastPlayedGame )