--- a/project_files/HedgewarsMobile/Classes/MainMenuViewController.m Sun Apr 08 23:31:02 2012 +0200
+++ b/project_files/HedgewarsMobile/Classes/MainMenuViewController.m Sun Apr 08 23:41:34 2012 +0200
@@ -61,7 +61,7 @@
// prompt for restoring any previous game
NSString *saveString = [userDefaults objectForKey:@"savedGamePath"];
- if (saveString != nil && [saveString isEqualToString:@""] == NO) {
+ if (saveString != nil && [saveString isEqualToString:@""] == NO && [[userDefaults objectForKey:@"saveIsValid"] boolValue]) {
if (self.restoreViewController == nil) {
NSString *xibName = [@"RestoreViewController-" stringByAppendingString:(IS_IPAD() ? @"iPad" : @"iPhone")];
RestoreViewController *restored = [[RestoreViewController alloc] initWithNibName:xibName bundle:nil];