project_files/HedgewarsMobile/Classes/GameSetup.m
changeset 3598 a8aa06bae895
parent 3573 c84067629035
child 3613 cfd3c6536a09
--- a/project_files/HedgewarsMobile/Classes/GameSetup.m	Wed Jun 30 22:20:52 2010 +0200
+++ b/project_files/HedgewarsMobile/Classes/GameSetup.m	Wed Jun 30 22:42:55 2010 +0200
@@ -273,7 +273,7 @@
         
         switch (buffer[0]) {
             case 'C':
-                DLog(@"sending game config");
+                DLog(@"sending game config\n%@",self.gameConfig);
                 
                 // local game
                 [self sendToEngine:@"TL"];
@@ -301,12 +301,8 @@
                 }
                 
                 [self provideAmmoData:[self.gameConfig objectForKey:@"weapon"] forPlayingTeams:[teamsConfig count]];
-                
-                clientQuit = NO;
                 break;
             case '?':
-                // without this sleep sometimes frontend replies before engine has processed any flag (resulting in an error)
-                [NSThread sleepForTimeInterval:0.7];
                 DLog(@"Ping? Pong!");
                 [self sendToEngine:@"!"];
                 break;