Remove workaround for broken CBA function

This commit is contained in:
johnb432 2024-07-20 08:32:57 +02:00
parent 5d133bd793
commit b67501572a

View File

@ -23,7 +23,6 @@ if (isNull _target) exitWith {false};
// Check if disabled for faction
if ((faction _target) in GVAR(disabledFactions)) exitWith {false};
// CBA_fnc_canAddItem doesn't account for mass 0 items and unit not having any containers
!(_target call EFUNC(common,isAwake)) && {(uniform _player + vest _player + backpack _player) != ""} && {[_player, "ACE_dogtag_1"] call CBA_fnc_canAddItem}
!(_target call EFUNC(common,isAwake)) && {[_player, "ACE_dogtag_1"] call CBA_fnc_canAddItem}
// Todo: Use code below in 2.18
// _player canAdd ["ACE_dogtag_1", 1, true]