diff --git a/addons/misc/functions/fnc_checkFAKSlot.sqf b/addons/misc/functions/fnc_checkFAKSlot.sqf index c6f7be614..c3d46bb87 100644 --- a/addons/misc/functions/fnc_checkFAKSlot.sqf +++ b/addons/misc/functions/fnc_checkFAKSlot.sqf @@ -26,11 +26,11 @@ private _return = false; private _itemType = _mag call BIS_fnc_itemType; _itemType = _itemType select 0; -if (_itemType == "Item") exitWith { +if (_itemType == "Item") exitWith { [_unit, _mag] call ACEFUNC(common,hasItem); }; -if (_itemType != "Magazine") exitWith { _return }; +if (_itemType != "Magazine") exitWith { _return }; private _ammoCount = [_unit, _mag] call FUNC(getMagazineAmmoCounts); diff --git a/addons/misc/functions/fnc_getMagazineAmmoCounts.sqf b/addons/misc/functions/fnc_getMagazineAmmoCounts.sqf index b376f7707..55b45a939 100644 --- a/addons/misc/functions/fnc_getMagazineAmmoCounts.sqf +++ b/addons/misc/functions/fnc_getMagazineAmmoCounts.sqf @@ -22,7 +22,7 @@ params ["_unit", "_mag", "_returnLocation"]; private _magAmmo = []; private _return = _magAmmo; -private _targetMag = magazinesAmmoFull _unit select {_x select 0 == _mag}; +private _targetMag = magazinesAmmoFull _unit select {_x select 0 == _mag}; if (_returnLocation == true) exitWith {