User preferences are now saved when Oolite under GNUstep exits.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1230 127b21dd-08f5-0310-b4b7-95ae10353056
This commit is contained in:
parent
de62146790
commit
413c4a143a
@ -843,6 +843,8 @@ static int CompareDisplayModes(id arg1, id arg2, void *context)
|
||||
|
||||
- (void) exitApp
|
||||
{
|
||||
[[NSUserDefaults standardUserDefaults] synchronize];
|
||||
OOLog(@"gameController.exitApp",@".GNUstepDefaults synchronized. Exiting.");
|
||||
OOLoggingTerminate();
|
||||
SDL_Quit();
|
||||
exit(0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user