mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Remove workaround for broken CBA function
This commit is contained in:
parent
5d133bd793
commit
b67501572a
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user