changeset 4082 | bfe14b38dad1 |
parent 4034 | 634a8c8682de |
child 4356 | d1d26f8963a3 |
--- a/project_files/HedgewarsMobile/Classes/AmmoMenuViewController.m Mon Nov 01 13:02:39 2010 -0400 +++ b/project_files/HedgewarsMobile/Classes/AmmoMenuViewController.m Mon Nov 01 18:51:38 2010 +0100 @@ -334,7 +334,8 @@ #pragma mark memory -(void) didReceiveMemoryWarning { self.imagesArray = nil; - self.buttonsArray = nil; + if (self.isVisible == NO) + self.buttonsArray = nil; self.nameLabel = nil; self.extraLabel = nil; self.captionLabel = nil;