Exemple #1
0
 void SetAmounition(Item toItem, ItemID id)
 {
     if (gunController.ContainsGunInInventory(id))
     {
         gunController.AddMagazine(toItem.giveAmount, id);
     }
     else
     {
         pickupSuccessfull = false;
     }
 }
Exemple #2
0
 private void AddMagazine(Pickup pickup)
 {
     GunController.AddMagazine(pickup);
 }