project_files/HedgewarsMobile/Classes/SettingsBaseViewController.m
branchios-revival
changeset 11116 102684240fe8
parent 10108 c68cf030eded
child 11148 064a53861759
--- a/project_files/HedgewarsMobile/Classes/SettingsBaseViewController.m	Fri Aug 14 01:55:42 2015 +0200
+++ b/project_files/HedgewarsMobile/Classes/SettingsBaseViewController.m	Fri Aug 14 02:02:15 2015 +0200
@@ -133,7 +133,7 @@
 
 -(void) dismissSplitView {
     [[AudioManagerController mainManager] playBackSound];
-    [[[HedgewarsAppDelegate sharedAppDelegate] mainViewController] dismissModalViewControllerAnimated:YES];
+    [[[HedgewarsAppDelegate sharedAppDelegate] mainViewController] dismissViewControllerAnimated:YES completion:nil];
 }
 
 -(void) willAnimateRotationToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation duration:(NSTimeInterval)duration {