project_files/HedgewarsMobile/Classes/AboutViewController.m
branchios-revival
changeset 11116 102684240fe8
parent 10108 c68cf030eded
child 11128 344d523ab9bb
--- a/project_files/HedgewarsMobile/Classes/AboutViewController.m	Fri Aug 14 01:55:42 2015 +0200
+++ b/project_files/HedgewarsMobile/Classes/AboutViewController.m	Fri Aug 14 02:02:15 2015 +0200
@@ -53,7 +53,7 @@
 
 -(IBAction) buttonPressed:(id) sender {
     [[AudioManagerController mainManager] playBackSound];
-    [[self parentViewController] dismissModalViewControllerAnimated:YES];
+    [self.presentingViewController dismissViewControllerAnimated:YES completion:nil];
 }
 
 -(IBAction) segmentedControlChanged:(id) sender {