project_files/HedgewarsMobile/Classes/RestoreViewController.m
changeset 6869 a187c280dd3d
parent 6832 fae8fd118da9
child 10108 c68cf030eded
--- a/project_files/HedgewarsMobile/Classes/RestoreViewController.m	Mon Apr 09 02:02:14 2012 +0200
+++ b/project_files/HedgewarsMobile/Classes/RestoreViewController.m	Mon Apr 09 03:25:17 2012 +0200
@@ -31,11 +31,11 @@
     NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
 
     if (theButton.tag != 0) {
-        [AudioManagerController playClickSound];
+        [[AudioManagerController mainManager] playClickSound];
         [GameInterfaceBridge registerCallingController:self.parentViewController];
         [GameInterfaceBridge startSaveGame:[[NSUserDefaults standardUserDefaults] objectForKey:@"savedGamePath"]];
     } else {
-        [AudioManagerController playBackSound];
+        [[AudioManagerController mainManager] playBackSound];
         [defaults setObject:@"" forKey:@"savedGamePath"];
         [defaults synchronize];
     }