project_files/HedgewarsMobile/Classes/CampaignsViewController.m
changeset 11570 fba0c7a5aaf4
parent 11562 32bbf1f6bb2b
child 12872 00215a7ec5f5
--- 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];