--- a/project_files/HedgewarsMobile/Classes/CampaignsViewController.m Tue Feb 23 13:45:49 2016 +0300
+++ b/project_files/HedgewarsMobile/Classes/CampaignsViewController.m Tue Feb 23 23:29:06 2016 +0100
@@ -29,12 +29,12 @@
- (NSArray *)campaigns {
if (!_campaigns) {
- _campaigns = [self listOfCampaigns];
+ _campaigns = [self newListOfCampaigns];
}
return _campaigns;
}
-- (NSArray *)listOfCampaigns {
+- (NSArray *)newListOfCampaigns {
NSFileManager *fileManager = [NSFileManager defaultManager];
NSArray *contents = [fileManager contentsOfDirectoryAtPath:CAMPAIGNS_DIRECTORY() error:nil];