Prevent MeleeMagazines being counted by BIS_fnc_inv

This commit is contained in:
ebaydayz
2016-05-03 12:21:43 -04:00
parent f8b3ba2105
commit 2f98fc0451
18 changed files with 42 additions and 18 deletions

View File

@@ -84,6 +84,8 @@ if ((count _upgrade) > 0) then {
_abortInvAdd = false;
_i = 0;
_addedItems = [];
//Remove melee magazines (BIS_fnc_invAdd fix)
{player removeMagazines _x} count MeleeMagazines;
{
_itemOut = _x select 0;