project_files/HedgewarsMobile/Classes/SavedGamesViewController.m
changeset 6869 a187c280dd3d
parent 6832 fae8fd118da9
child 8441 a00b0fa0dbd7
equal deleted inserted replaced
6868:f31b5213b163 6869:a187c280dd3d
    64 #pragma mark button functions
    64 #pragma mark button functions
    65 -(IBAction) buttonPressed:(id) sender {
    65 -(IBAction) buttonPressed:(id) sender {
    66     UIButton *button = (UIButton *)sender;
    66     UIButton *button = (UIButton *)sender;
    67 
    67 
    68     if (button.tag == 0) {
    68     if (button.tag == 0) {
    69         [AudioManagerController playBackSound];
    69         [[AudioManagerController mainManager] playBackSound];
    70         [self.tableView setEditing:NO animated:YES];
    70         [self.tableView setEditing:NO animated:YES];
    71         [[self parentViewController] dismissModalViewControllerAnimated:YES];
    71         [[self parentViewController] dismissModalViewControllerAnimated:YES];
    72     } else {
    72     } else {
    73         NSString *titleStr, *cancelStr, *confirmStr;
    73         NSString *titleStr, *cancelStr, *confirmStr;
    74         titleStr = NSLocalizedString(@"Are you reeeeeally sure?", @"");
    74         titleStr = NSLocalizedString(@"Are you reeeeeally sure?", @"");