project_files/HedgewarsMobile/Classes/SavedGamesViewController.m
branchios-revival
changeset 11116 102684240fe8
parent 10108 c68cf030eded
child 11250 7f3f96e9fdf1
--- a/project_files/HedgewarsMobile/Classes/SavedGamesViewController.m	Fri Aug 14 01:55:42 2015 +0200
+++ b/project_files/HedgewarsMobile/Classes/SavedGamesViewController.m	Fri Aug 14 02:02:15 2015 +0200
@@ -68,7 +68,7 @@
     if (button.tag == 0) {
         [[AudioManagerController mainManager] playBackSound];
         [self.tableView setEditing:NO animated:YES];
-        [[self parentViewController] dismissModalViewControllerAnimated:YES];
+        [[self presentingViewController] dismissViewControllerAnimated:YES completion:nil];
     } else {
         NSString *titleStr, *cancelStr, *confirmStr;
         titleStr = NSLocalizedString(@"Are you reeeeeally sure?", @"");