project_files/HedgewarsMobile/Classes/MapConfigViewController.m
changeset 3912 e11df2de6af2
parent 3911 46d7a5cf8ac6
child 3920 a54ca6185307
equal deleted inserted replaced
3911:46d7a5cf8ac6 3912:e11df2de6af2
   169     self.maxLabel.text = max;
   169     self.maxLabel.text = max;
   170     [max release];
   170     [max release];
   171     
   171     
   172     self.themeCommand = [NSString stringWithFormat:@"etheme %@", [split objectAtIndex:0]];
   172     self.themeCommand = [NSString stringWithFormat:@"etheme %@", [split objectAtIndex:0]];
   173     self.staticMapCommand = [NSString stringWithFormat:@"emap %@", [source objectAtIndex:index]];
   173     self.staticMapCommand = [NSString stringWithFormat:@"emap %@", [source objectAtIndex:index]];
       
   174 
   174     if (scIndex != 3)
   175     if (scIndex != 3)
   175         self.missionCommand = @"";
   176         self.missionCommand = @"";
   176     else
   177     else
   177         self.missionCommand = [NSString stringWithFormat:@"escript %@/%@/map.lua",MISSIONS_DIRECTORY(),[source objectAtIndex:index]];
   178         self.missionCommand = [NSString stringWithFormat:@"escript %@/%@/map.lua",MISSIONS_DIRECTORY(),[source objectAtIndex:index]];
   178 }
   179 }