project_files/HedgewarsMobile/Classes/OverlayViewController.m
changeset 3765 ebfe7c9b3085
parent 3739 97cf933e5bd2
child 3779 3351a017d4ad
--- a/project_files/HedgewarsMobile/Classes/OverlayViewController.m	Tue Aug 24 17:03:44 2010 +0200
+++ b/project_files/HedgewarsMobile/Classes/OverlayViewController.m	Wed Aug 25 00:17:51 2010 +0200
@@ -328,6 +328,9 @@
     NSSet *allTouches = [event allTouches];
     UITouch *first, *second;
 
+    if (isGameRunning == NO)
+        return;
+
     // hide in-game menu
     if (isPopoverVisible)
         [self dismissPopover];