count should be a foreach

This commit is contained in:
Glowbal 2015-08-09 00:41:43 +02:00
parent 02fdbe6fc2
commit 2b3c936e99

View File

@ -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