project_files/HedgewarsMobile/Classes/GameConfigViewController.m
changeset 3626 19f78afa0188
parent 3625 9f1d79e01a60
child 3629 86212d2b116a
--- a/project_files/HedgewarsMobile/Classes/GameConfigViewController.m	Tue Jul 06 03:33:01 2010 +0200
+++ b/project_files/HedgewarsMobile/Classes/GameConfigViewController.m	Wed Jul 07 02:52:11 2010 +0200
@@ -48,9 +48,10 @@
             break;
         case 1:
             theButton.enabled = NO;
-            [self performSelector:@selector(startGame:)
-                       withObject:theButton
-                       afterDelay:0.25];
+            [self startGame:theButton];
+//            [self performSelector:@selector(startGame:)
+//                       withObject:theButton
+//                       afterDelay:0.25];
             break;
         default:
             break;
@@ -154,9 +155,9 @@
                                                                       nil];
 
     // finally launch game and remove this controller
-    [[self parentViewController] dismissModalViewControllerAnimated:YES];
     [[SDLUIKitDelegate sharedAppDelegate] startSDLgame:gameDictionary];
     [gameDictionary release];
+    //[[self parentViewController] dismissModalViewControllerAnimated:YES];
 }
 
 -(void) viewDidLoad {