project_files/HedgewarsMobile/Classes/PopoverMenuViewController.m
changeset 3598 a8aa06bae895
parent 3547 02875b1145b7
--- a/project_files/HedgewarsMobile/Classes/PopoverMenuViewController.m	Wed Jun 30 22:20:52 2010 +0200
+++ b/project_files/HedgewarsMobile/Classes/PopoverMenuViewController.m	Wed Jun 30 22:42:55 2010 +0200
@@ -129,10 +129,8 @@
         [UIView commitAnimations];
     }
     
-    if ([actionSheet cancelButtonIndex] != buttonIndex) {
-        [[NSNotificationCenter defaultCenter] postNotificationName:@"dismissPopover" object:nil];
+    if ([actionSheet cancelButtonIndex] != buttonIndex)
         HW_terminate(NO);
-    }
     else
         if (!isPaused) 
             HW_pause();