project_files/HedgewarsMobile/Classes/GameConfigViewController.m
branchios-revival
changeset 11116 102684240fe8
parent 11103 4f526dcb40db
child 11120 83c0d96f86ea
--- a/project_files/HedgewarsMobile/Classes/GameConfigViewController.m	Fri Aug 14 01:55:42 2015 +0200
+++ b/project_files/HedgewarsMobile/Classes/GameConfigViewController.m	Fri Aug 14 02:02:15 2015 +0200
@@ -47,7 +47,7 @@
                 [alert release];
             } else {
                 [[AudioManagerController mainManager] playBackSound];
-                [[self parentViewController] dismissModalViewControllerAnimated:YES];
+                [[self presentingViewController] dismissViewControllerAnimated:YES completion:nil];
             }
             break;
         case 1: