make stackCount an int

This commit is contained in:
CWX
2025-01-18 22:58:22 +00:00
parent bea2d1799c
commit 4f32268c02
6 changed files with 15 additions and 15 deletions
+1 -1
View File
@@ -483,7 +483,7 @@ public class BotWeaponGenerator(
/// <param name="ammoTpl">Ammo type to add.</param>
/// <param name="stackSize">Size of the ammo stack to add.</param>
/// <param name="inventory">Player inventory.</param>
protected void AddAmmoToSecureContainer(int stackCount, string ammoTemplate, double stackSize, BotBaseInventory inventory)
protected void AddAmmoToSecureContainer(int stackCount, string ammoTemplate, int stackSize, BotBaseInventory inventory)
{
for (var i = 0; i < stackCount; i++)
{