hedgewars/uTouch.pas
changeset 15908 014f4edd0421
parent 14559 1dab5d92aca7
--- a/hedgewars/uTouch.pas	Thu Oct 06 20:58:54 2022 +0300
+++ b/hedgewars/uTouch.pas	Sun Oct 16 13:14:16 2022 +0300
@@ -309,7 +309,7 @@
         if (CurrentHedgehog <> nil)then
             if(Ammoz[CurrentHedgehog^.CurAmmoType].Ammo.Propz and ammoprop_NeedTarget <> 0)then
                 begin
-                ParseTeamCommand('put');
+                ParseTeamCommand('+put');
                 targetted:= true;
                 end
             else if (CurAmmoGear <> nil) and (CurAmmoGear^.AmmoType = amSwitch) then
@@ -346,7 +346,7 @@
         begin
         CursorPoint.X:= finger.x;
         CursorPoint.Y:= finger.y;
-        ParseTeamCommand('put');
+        ParseTeamCommand('+put');
         end
     else
         bShowAmmoMenu:= false;