In order to fix this issue simply replace the function SetUpPickUpWeapon(...) of bl_GunManager.cs with this:
Code: Select all
void SetUpPickUpWeapon(GunPickUpData data, bl_Gun gun, int slotID)
{
PlayerEquip[slotID] = gun;
gun.Setup(true);
if (gun.Info.Type == GunType.Grenade)
{
if (gun.bulletsLeft <= 0) gun.bulletsLeft = 1;
else
gun.numberOfClips++;
}
else
{
gun.bulletsLeft = data.Bullets;
gun.numberOfClips = data.Clips;
}
bl_UIReferences.Instance.PlayerUI.LoadoutUI.ReplaceSlot(slotID, gun);
}