project_files/HedgewarsMobile/Classes/SavedGamesViewController.m
changeset 4912 862b134284b2
parent 4861 91f889289a47
child 4976 088d40d8aba2
--- a/project_files/HedgewarsMobile/Classes/SavedGamesViewController.m	Wed Feb 02 23:38:44 2011 +0100
+++ b/project_files/HedgewarsMobile/Classes/SavedGamesViewController.m	Thu Feb 03 00:23:41 2011 +0100
@@ -226,7 +226,15 @@
     // avoid showing the stat page immediately, but wait for 3 seconds
     [self performSelector:@selector(presentModalViewController:animated:) withObject:statsPage afterDelay:3];
 
-    NSArray *stats = [[SDLUIKitDelegate sharedAppDelegate] startSDLgame:allDataNecessary];
+    NSArray *stats;
+    if (IS_DUALHEAD()) {
+        stats = [[SDLUIKitDelegate sharedAppDelegate] startSDLgame:allDataNecessary];
+        [self presentModalViewController:statsPage animated:NO];
+    } else {
+        [self performSelector:@selector(presentModalViewController:animated:) withObject:statsPage afterDelay:3];
+        stats = [[SDLUIKitDelegate sharedAppDelegate] startSDLgame:allDataNecessary];
+    }
+
     if ([stats count] <= 1) {
         DLog(@"%@",stats);
         [statsPage dismissModalViewControllerAnimated:NO];