diff -r 022dfe1431b7 -r 44804043b691 project_files/HedgewarsMobile/Classes/InGameMenuViewController.m --- a/project_files/HedgewarsMobile/Classes/InGameMenuViewController.m Fri Oct 01 13:56:11 2010 -0400 +++ b/project_files/HedgewarsMobile/Classes/InGameMenuViewController.m Sat Oct 02 04:23:32 2010 +0200 @@ -24,6 +24,7 @@ #import "PascalImports.h" #import "CommodityFunctions.h" #import "SDL_sysvideo.h" +#import "SDL_uikitkeyboard.h" @implementation InGameMenuViewController @synthesize menuList; @@ -177,8 +178,10 @@ [UIView commitAnimations]; } - if ([actionSheet cancelButtonIndex] != buttonIndex) + if ([actionSheet cancelButtonIndex] != buttonIndex) { + [[NSNotificationCenter defaultCenter] postNotificationName:@"remove overlay" object:nil]; HW_terminate(NO); + } } @end