Skip to content

Commit

Permalink
Update items to use new function 3
Browse files Browse the repository at this point in the history
  • Loading branch information
mharis001 committed Sep 16, 2018
1 parent 79b556f commit a0cab46
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion addons/map/functions/fnc_getUnitFlashlights.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ private _flashlights = [];
if (isText (configFile >> "CfgWeapons" >> _x >> "ItemInfo" >> "FlashLight" >> "ACE_Flashlight_Colour")) then {
_flashlights pushBackUnique _x;
};
} forEach (items _unit);
} forEach (_unit call EFUNC(common,uniqueItems));

_flashlights
2 changes: 1 addition & 1 deletion addons/microdagr/XEH_clientInit.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ if (!hasInterface) exitWith {};

//Add deviceKey entry:
private _conditonCode = {
("ACE_microDAGR" in (items ACE_player))
"ACE_microDAGR" in (ACE_player call EFUNC(common,uniqueItems))
};
private _toggleCode = {
if !([ACE_player, objNull, ["notOnMap", "isNotInside", "isNotSitting"]] call EFUNC(common,canInteractWith)) exitWith {};
Expand Down

0 comments on commit a0cab46

Please sign in to comment.