diff -r a66d5141a3ba -r a3f87be7b09a project_files/HedgewarsMobile/Classes/GeneralSettingsViewController.m --- a/project_files/HedgewarsMobile/Classes/GeneralSettingsViewController.m Sun Jul 03 01:10:39 2011 +0200 +++ b/project_files/HedgewarsMobile/Classes/GeneralSettingsViewController.m Sun Jul 03 02:33:17 2011 +0200 @@ -62,6 +62,9 @@ [settings setObject:[NSNumber numberWithBool:NO] forKey:@"music"]; theOtherSwitch = (UISwitch *)[self.tableView cellForRowAtIndexPath:[NSIndexPath indexPathForRow:1 inSection:1]].accessoryView; [theOtherSwitch setOn:NO animated:YES]; + + if (theOtherSwitch.on) + [HedgewarsAppDelegate pauseBackgroundMusic]; break; case 20: //musicSwitch // if switch above (sound) is off, never turn on