diff -r 156c04c6a3d8 -r 6592fbb969da project_files/HedgewarsMobile/Classes/GameConfigViewController.m --- a/project_files/HedgewarsMobile/Classes/GameConfigViewController.m Sat Jun 19 00:48:47 2010 +0200 +++ b/project_files/HedgewarsMobile/Classes/GameConfigViewController.m Sun Jun 20 18:35:59 2010 +0200 @@ -28,8 +28,9 @@ [[self parentViewController] dismissModalViewControllerAnimated:YES]; break; case 1: - [self performSelector:@selector(startGame) - withObject:nil + theButton.enabled = NO; + [self performSelector:@selector(startGame:) + withObject:theButton afterDelay:0.25]; break; default: @@ -68,7 +69,9 @@ [self.view addSubview:activeController.view]; } --(void) startGame { +-(void) startGame:(UIButton *)button { + button.enabled = YES; + // don't start playing if the preview is in progress if ([mapConfigViewController busy]) { UIAlertView *alert = [[UIAlertView alloc] initWithTitle:NSLocalizedString(@"Wait for the Preview",@"")