--- a/project_files/HedgewarsMobile/Classes/GameInterfaceBridge.m Sat May 28 16:40:23 2011 +0200
+++ b/project_files/HedgewarsMobile/Classes/GameInterfaceBridge.m Sat May 28 23:40:42 2011 +0200
@@ -153,9 +153,18 @@
// prepare options for overlay and add it to the future sdl uiwindow
[self performSelector:@selector(displayOverlayLater:) withObject:nil afterDelay:3];
+ // keep track of uncompleted games
+ NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
+ [defaults setObject:self.savePath forKey:@"savedGamePath"];
+ [defaults synchronize];
+
// SYSTEMS ARE GO!!
[self startGameEngine];
+ // remove completed games notification
+ [defaults setObject:@"" forKey:@"savedGamePath"];
+ [defaults synchronize];
+
// now we can remove the cover with a transition
[UIView beginAnimations:@"fade in" context:NULL];
[UIView setAnimationDuration:1];