WeaponTweakData override_weapon_ bug with total_ammo_mod
When modifying AMMO_MAX variable with WeaponTweakData override_weapon_ function (whether its override_weapon, _add, or _multiply), and the gun also have part that does total_ammo_mod variable, the resulting calculation differ between Main Menu customization GUI and in-game heist.
Example: Base gun had 100 total ammo, equips magazine and barrel
- magazine with override_weapon_add 50
- barrel with total_ammo_mod -6
the magazine brings total ammo up to 150, and the barrel brings it down to 120, as shown on Main Menu customization GUI.
but in-heist, it shows up as 105 total ammo
Edited by Connie Price