if (reloading)
{
if (currentAmmo <= 0)
{
if (ammoInventory >= 40)
{
currentAmmo += 40;
ammoInventory -= 40;
} else
{
currentAmmo += ammoInventory;
ammoInventory = 0;
}
}
}
↧