Counter-Strike: Fixed the buyammo1/primammo and buyammo2/secammo commands.

This commit is contained in:
Marco Cawthorne 2020-04-23 05:20:35 +02:00
parent d8b832041c
commit 747639af4d

View file

@ -118,11 +118,11 @@ Game_ConsoleCommand(void)
break;
case "buyammo1":
case "primammo":
sendevent("BuyAmmo", "f", 0);
sendevent("AmmoBuyPrimary", "");
break;
case "buyammo2":
case "secammo":
sendevent("BuyAmmo", "f", 1);
sendevent("AmmoBuySecondary", "");
break;
case "vest":
sendevent("BuyEquipment", "f", 0);