Prevent MeleeMagazines being counted by BIS_fnc_inv

This commit is contained in:
ebaydayz committed 2016-05-03 13:35:50 -04:00
1 parent f8b3ba2105
commit 2f98fc0451
18 files changed
+42 -18

No files matched your search

@@ -34,6 +34,9 @@ if (_this in items player) then {
_this call _dropOnFloor;
};
} else {
//Remove melee magazines (BIS_fnc_invAdd fix)
{player removeMagazines _x} count MeleeMagazines;
if !([player,_this] call BIS_fnc_invAdd) then {
systemChat localize "str_epoch_player_107";
_this call _dropOnFloor;