--- a/project_files/HedgewarsMobile/Classes/OverlayViewController.m Sat Feb 05 11:32:15 2011 +0300
+++ b/project_files/HedgewarsMobile/Classes/OverlayViewController.m Sat Feb 05 15:45:44 2011 +0100
@@ -486,12 +486,10 @@
if (HW_isPaused())
HW_pauseToggle();
- if (IS_IPAD()) {
- [(InGameMenuViewController *)[[self popoverController] contentViewController] removeChat];
+ [self.popupMenu dismiss];
+ if (IS_IPAD())
[self.popoverController dismissPopoverAnimated:YES];
- } else {
- [self.popupMenu dismiss];
- }
+
[self buttonReleased:nil];
}
}