project_files/HedgewarsMobile/Classes/InGameMenuViewController.m
changeset 4861 91f889289a47
parent 4358 0445d807193e
child 4912 862b134284b2
--- a/project_files/HedgewarsMobile/Classes/InGameMenuViewController.m	Thu Jan 20 01:27:51 2011 +0100
+++ b/project_files/HedgewarsMobile/Classes/InGameMenuViewController.m	Thu Jan 20 01:49:20 2011 +0100
@@ -194,7 +194,7 @@
     }
 
     if ([actionSheet cancelButtonIndex] != buttonIndex)
-        [[NSNotificationCenter defaultCenter] postNotificationName:@"remove overlay" object:nil];
+        HW_terminate(NO);
 }
 
 @end