mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
count should be a foreach
This commit is contained in:
parent
02fdbe6fc2
commit
2b3c936e99
@ -29,6 +29,6 @@ if (!(_unit isKindOf "CAManBase")) exitWith {_optics};
|
||||
if (count _x >= 2) then {
|
||||
_optics set [_forEachIndex, _x select 2];
|
||||
};
|
||||
} count [primaryWeaponItems _unit, secondaryWeaponItems _unit, handgunItems _unit];
|
||||
} forEach [primaryWeaponItems _unit, secondaryWeaponItems _unit, handgunItems _unit];
|
||||
|
||||
_optics
|
||||
|
Loading…
Reference in New Issue
Block a user