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
+3
View File
@@ -375,6 +375,9 @@ int main(int argc, char* argv[])
/* Run the main loop. */
GameLoop();
PREFSMAN->SaveGlobalPrefsToDisk();
PREFSMAN->SaveGamePrefsToDisk();
#ifndef _DEBUG
}
catch( RageException e )