project_files/HedgewarsMobile/Classes/FlagsViewController.m
changeset 3662 a44406f4369b
parent 3547 02875b1145b7
child 3697 d5b30d6373fc
--- a/project_files/HedgewarsMobile/Classes/FlagsViewController.m	Tue Jul 20 23:30:54 2010 +0200
+++ b/project_files/HedgewarsMobile/Classes/FlagsViewController.m	Thu Jul 22 03:08:17 2010 +0200
@@ -24,6 +24,8 @@
     [super viewDidLoad];
 
     self.flagArray = [[NSFileManager defaultManager] contentsOfDirectoryAtPath:FLAGS_DIRECTORY() error:NULL];
+    
+    self.title = NSLocalizedString(@"Set team flag",@"");
 }
 
 -(void) viewWillAppear:(BOOL)animated {
@@ -110,8 +112,8 @@
     self.teamDictionary = nil;
     self.lastIndexPath = nil;
     self.flagArray = nil;
+    MSG_DIDUNLOAD();
     [super viewDidUnload];
-    MSG_DIDUNLOAD();
 }
 
 -(void) dealloc {