Save settings when receiving an SDL_QUIT event.
Closes #1964. git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11126 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
ef3c1b6d1d
commit
11fa3d73fc
|
@ -1000,6 +1000,7 @@ static void mainLoop(void)
|
|||
handleActiveEvent(&event.active);
|
||||
break;
|
||||
case SDL_QUIT:
|
||||
saveConfig();
|
||||
return;
|
||||
default:
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue