Is your feature request related to a problem? Please describe.
Yes, this is related to #499.
Describe the solution you'd like
To fix the above issue, add new separate inputs to logic_playerproxy, GetPrimaryAmmoOnWeapon/GetSecondaryAmmoOnWeapon, that only pass along the primary/secondary ammo respectively.
Describe alternatives you've considered
None, I think this is the best solution, as it doesn't touch the original input, and won't break existing maps.