project_files/HedgewarsMobile/Classes/AmmoMenuViewController.m
changeset 3984 d92509c2f255
parent 3981 928e2040d34f
child 3989 adffb668f06e
--- a/project_files/HedgewarsMobile/Classes/AmmoMenuViewController.m	Tue Oct 19 23:58:27 2010 +0200
+++ b/project_files/HedgewarsMobile/Classes/AmmoMenuViewController.m	Thu Oct 21 00:41:41 2010 +0200
@@ -279,9 +279,9 @@
     if (theButton.currentTitle == nil) {
         HW_setWeapon(theButton.tag);
         playSound(@"clickSound");
+        if (IS_DUALHEAD() == NO)
+            [self disappear];
     }
-    if (IS_DUALHEAD() == NO)
-        [self disappear];
 }
 
 -(void) touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event {