[Bug] Assign gear: Magazine underfill
Currently magazines are added to the inventory before the primary weapon and as such it will then suck up the first magazine when added.
This becomes an issue when the inventory can't fit the last magazine because there is a magazine in the inventory waiting to get placed inside the primary weapon. Currently the only way around is use the code property to add another magazine.
I think we should attempt to add one of each weapon compatible magazine and then add the rest of the magazines after the weapon has been added. This may be a little tricky to do efficiently but would be worth doing!
There may be side issue for autotest as it may not yake into account that it is poasible for one magazine to be loaded in the weapon already (one magazine and one grenade for UGLs)
Can't you use attachments to add magazines and thus just move the magazine below the weapons part
https://community.bistudio.com/wiki/addWeaponItem or it's related commands could be helpful