--- 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;