--- a/project_files/HedgewarsMobile/Classes/SDL_uikitappdelegate.m Sat Dec 11 23:28:52 2010 +0300
+++ b/project_files/HedgewarsMobile/Classes/SDL_uikitappdelegate.m Sun Dec 12 05:23:37 2010 +0100
@@ -122,8 +122,10 @@
GameSetup *setup = [[GameSetup alloc] initWithDictionary:gameDictionary];
NSNumber *isNetGameNum = [gameDictionary objectForKey:@"netgame"];
- if ([isNetGameNum boolValue] == NO)
- [setup startThread:@"engineProtocol"];
+ [setup startThread:@"engineProtocol"];
+ if ([isNetGameNum boolValue] == YES)
+ [setup startThread:@"serverProtocol"];
+
const char **gameArgs = [setup getSettings:[gameDictionary objectForKey:@"savefile"]];
NSNumber *menuStyle = [NSNumber numberWithBool:setup.menuStyle];
[setup release];