Fix MeleeMagazines showing in crafting UI

Vanilla development commit:

f2e1623ba1
This commit is contained in:
ebaydayz
2016-04-28 21:33:54 -04:00
parent bc370475e5
commit 7f1b8db85a

View File

@@ -109,6 +109,7 @@ _getGear = {
} forEach (_weapons);
{
if !(_x in MeleeMagazines) then {
_index = [_return, _x] call _inArray;
if (_index != -1) then {
@@ -116,6 +117,7 @@ _getGear = {
} else {
_return set [count _return, [_x, 1, 0]];
};
};
} forEach (_magazines);
};