project_files/HedgewarsMobile/Classes/SavedGamesViewController.m
changeset 5157 a5a6ffc56141
parent 5156 641abe679bf0
child 5158 4941df038b95
--- a/project_files/HedgewarsMobile/Classes/SavedGamesViewController.m	Mon Apr 18 02:45:51 2011 +0200
+++ b/project_files/HedgewarsMobile/Classes/SavedGamesViewController.m	Tue Apr 19 00:19:01 2011 +0200
@@ -215,7 +215,11 @@
     [bridge startSaveGame:filePath];
     [filePath release];
     [bridge release];
-   /* // also modify GameConfigViewController.m
+
+    // reload needed because when ending game the entry remains there
+    [self viewWillAppear:YES];
+
+    /* // also modify GameConfigViewController.m
     StatsPageViewController *statsPage = [[StatsPageViewController alloc] initWithStyle:UITableViewStyleGrouped];
     statsPage.modalTransitionStyle = UIModalTransitionStyleCoverVertical;
     if ([statsPage respondsToSelector:@selector(setModalPresentationStyle:)])
@@ -240,8 +244,7 @@
         [statsPage.tableView reloadData];
         [statsPage viewWillAppear:YES];
     }*/
-    // reload needed because when ending game the entry remains there
-    [self.tableView reloadData];
+
 }
 
 #pragma mark -