project_files/HedgewarsMobile/Classes/MainMenuViewController.m
changeset 5224 6e8fbbfb0de5
parent 5220 76a2246f18f0
child 5483 fc755bb8096d
--- a/project_files/HedgewarsMobile/Classes/MainMenuViewController.m	Sun May 29 23:58:28 2011 +0200
+++ b/project_files/HedgewarsMobile/Classes/MainMenuViewController.m	Mon May 30 01:14:25 2011 +0200
@@ -107,6 +107,9 @@
         [self createNecessaryFiles];
     }
 
+    if ([[userDefaults objectForKey:@"music"] boolValue])
+        [HedgewarsAppDelegate playBackgroundMusic];
+
     NSString *saveString = [[NSUserDefaults standardUserDefaults] objectForKey:@"savedGamePath"];
     if (saveString != nil && [saveString isEqualToString:@""] == NO) {
         if (self.restoreViewController == nil) {