Remove extra bracket.

This commit is contained in:
voiper 2016-06-13 18:42:45 -07:00
parent 1ffd9d58ab
commit 69c3dd5cfb

View File

@ -21,7 +21,7 @@ params ["_unit"];
private _flashlights = [];
{
if ((isText (configFile >> "CfgWeapons" >> _x >> "ItemInfo" >> QGVAR(flashlight) >> QGVAR(Flashlight_Color))) then {
if (isText (configFile >> "CfgWeapons" >> _x >> "ItemInfo" >> QGVAR(flashlight) >> QGVAR(Flashlight_Color))) then {
_flashlights pushBackUnique _x;
};
} forEach (items _unit);