# HG changeset patch
# User sheepluva
# Date 1413827446 -7200
# Node ID 7de934f2247c85a00e9982a47eca9c85fe2e89df
# Parent  e586b8af4569266bc42170f98bb802e41215ca6c
allow toggling ammo menu while NoTeamOrHH, as suggested by unC0Rr

diff -r e586b8af4569 -r 7de934f2247c hedgewars/uCommandHandlers.pas
--- a/hedgewars/uCommandHandlers.pas	Mon Oct 20 15:31:44 2014 +0200
+++ b/hedgewars/uCommandHandlers.pas	Mon Oct 20 19:50:46 2014 +0200
@@ -539,7 +539,7 @@
 begin
 s:= s; // avoid compiler hint
 if CheckNoTeamOrHH then
-    bShowAmmoMenu:= true
+    bShowAmmoMenu:= (not bShowAmmoMenu)
 else
     begin
     with CurrentTeam^ do