--- a/project_files/HedgewarsMobile/Classes/MainMenuViewController.m Sat Aug 28 05:35:02 2010 +0200
+++ b/project_files/HedgewarsMobile/Classes/MainMenuViewController.m Sun Aug 29 16:55:27 2010 +0200
@@ -157,6 +157,7 @@
UIAlertView *alert;
NSString *xib;
+ playSound(@"clickSound");
switch (button.tag) {
case 0:
if (nil == self.gameConfigViewController) {
@@ -227,6 +228,7 @@
}
-(void) viewDidUnload {
+ [[NSNotificationCenter defaultCenter] removeObserver:self];
self.versionLabel = nil;
self.gameConfigViewController = nil;
self.settingsViewController = nil;