From fcc70d85945e2214f2596dad1034232e04d631c2 Mon Sep 17 00:00:00 2001 From: Dedmen Miller Date: Thu, 26 Nov 2020 11:27:51 +0100 Subject: [PATCH] [Arsenal] Remove isClass check in configClasses --- addons/arsenal/functions/fnc_fillLeftPanel.sqf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/arsenal/functions/fnc_fillLeftPanel.sqf b/addons/arsenal/functions/fnc_fillLeftPanel.sqf index 1dca06b0650..37cbd4e431b 100644 --- a/addons/arsenal/functions/fnc_fillLeftPanel.sqf +++ b/addons/arsenal/functions/fnc_fillLeftPanel.sqf @@ -153,8 +153,8 @@ switch true do { _ctrlPanel lbSetTooltip [_lbAdd,format ["%1\n%2",_displayName, _configName]]; _x call ADDMODICON; }; - } foreach ("isClass _x" configClasses _x); - } foreach ("isClass _x" configClasses (configfile >> "cfgfaces")); + } foreach ("true" configClasses _x); + } foreach ("true" configClasses (configfile >> "cfgfaces")); }; case IDC_buttonVoice : { private _voices = (configProperties [(configFile >> "CfgVoice"), "isClass _x && {getNumber (_x >> 'scope') == 2}", true]) - [(configfile >> "CfgVoice" >> "NoVoice")];