diff --git a/cScripts/functions/gear/fn_gear_applyFunctions.sqf b/cScripts/functions/gear/fn_gear_applyFunctions.sqf index 61725ceda..4e38dfc35 100644 --- a/cScripts/functions/gear/fn_gear_applyFunctions.sqf +++ b/cScripts/functions/gear/fn_gear_applyFunctions.sqf @@ -29,12 +29,10 @@ if (EGVAR(Settings,enableRadios)) then { // Earplugs -if (EGVAR(Settings,addEarplugs)) then { - if !([player] call ace_hearing_fnc_hasEarPlugsIn) then { - [{ - [_this select 0] call ace_hearing_fnc_putInEarplugs; - }, [player]] call CBA_fnc_execNextFrame; - }; +if !([player] call ace_hearing_fnc_hasEarPlugsIn) then { + [{ + [_this select 0] call ace_hearing_fnc_putInEarplugs; + }, [player]] call CBA_fnc_execNextFrame; }; diff --git a/cScripts/functions/players/fn_unit_setInsignia.sqf b/cScripts/functions/players/fn_unit_setInsignia.sqf index 058c0c7c2..b8b4c7e75 100644 --- a/cScripts/functions/players/fn_unit_setInsignia.sqf +++ b/cScripts/functions/players/fn_unit_setInsignia.sqf @@ -26,5 +26,6 @@ params [ if (!isPlayer _unit) exitWith {}; if (!_save) exitWith {}; +if (!QEGVAR(Settings,allowProfileSavedInsignia)) exitWith {}; [_insignia] call EFUNC(profile,saveInsignia); \ No newline at end of file