Skip to content

Commit

Permalink
fix: Set new ammo to FlameThrower
Browse files Browse the repository at this point in the history
If the ammo is set to 500, it shows as 50.
  • Loading branch information
MrDave1999 committed Sep 6, 2024
1 parent 53fdbff commit dd7bda7
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ public void Give(Player player)
PlayerInfo playerInfo = player.GetInfo();
player.Health = 100;
player.Armour = 100;
player.GiveWeapon(Weapon.FlameThrower, ammo: 500);
// 5500 (shows in game as 500-50).
const int ammo = 5500;
player.GiveWeapon(Weapon.FlameThrower, ammo);
playerInfo.StatsPerRound.ResetPoints();
}
}

0 comments on commit dd7bda7

Please sign in to comment.