Skip to content

Commit

Permalink
ARRAYS
Browse files Browse the repository at this point in the history
  • Loading branch information
dedmen authored Apr 14, 2018
1 parent a79f59f commit e0bdb1a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions addons/common/fnc_uniqueUnitItems.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,11 @@ if (_weaponItems) then {
_allItems append (primaryWeaponItems _unit);
_allItems append (secondaryWeaponItems _unit);
_allItems append (handgunItems _unit);
_allItems append (primaryWeaponMagazine _unit);
_allItems append (secondaryWeaponMagazine _unit);
_allItems append (handgunMagazine _unit);
_allItems append [
primaryWeapon _unit, secondaryWeapon _unit, handgunWeapon _unit,
primaryWeaponMagazine _unit, secondaryWeaponMagazine _unit, handgunMagazine _unit
primaryWeapon _unit, secondaryWeapon _unit, handgunWeapon _unit
];
_allItems pushBack (_unit call CBA_fnc_binocularMagazine);
};
Expand Down

0 comments on commit e0bdb1a

Please sign in to comment.