project_files/HedgewarsMobile/Classes/MainMenuViewController.m
changeset 4752 d65705a67c4e
parent 4547 b70004a576a3
child 4754 a0fd8211c00f
equal deleted inserted replaced
4750:736edc3a2353 4752:d65705a67c4e
   123     if (trackingVersion == nil || [trackingVersion isEqualToString:version] == NO) {
   123     if (trackingVersion == nil || [trackingVersion isEqualToString:version] == NO) {
   124         [userDefaults setObject:version forKey:@"HedgeVersion"];
   124         [userDefaults setObject:version forKey:@"HedgeVersion"];
   125         [userDefaults synchronize];
   125         [userDefaults synchronize];
   126         [self createNecessaryFiles];
   126         [self createNecessaryFiles];
   127     }
   127     }
   128     
   128 
       
   129     /*
   129     ServerSetup *setup = [[ServerSetup alloc] init];
   130     ServerSetup *setup = [[ServerSetup alloc] init];
   130     if ([setup isNetworkReachable]) {
   131     if ([setup isNetworkReachable]) {
   131         DLog(@"network is reachable");
   132         DLog(@"network is reachable");
   132         [NSThread detachNewThreadSelector:@selector(serverProtocol)
   133         [NSThread detachNewThreadSelector:@selector(serverProtocol)
   133                                  toTarget:setup
   134                                  toTarget:setup
   134                                withObject:nil];
   135                                withObject:nil];
   135     }
   136     }
   136     [setup release];
   137     [setup release];
       
   138     */
   137 }
   139 }
   138 
   140 
   139 
   141 
   140 #pragma mark -
   142 #pragma mark -
   141 -(IBAction) switchViews:(id) sender {
   143 -(IBAction) switchViews:(id) sender {