BourbonWarfare/bwmf

Spectator ACRE mute compatibility

zerithsmash opened this issue · 1 comments

If someone gets a chance before me, this easy fix should solve the problem with mute having weird behavior.
Replace this:

 if ([_key, _args select 2, _args select 3, _args select 4] call f_cam_checkAcreMute) then {
      f_cam_muteSpectators = !f_cam_muteSpectators;
      if (isClass(configFile >> "CfgPatches" >> "acre_main")) then {
        [f_cam_muteSpectators] call acre_api_fnc_setSpectator;
      };
    };

With this:

 if ([_key, _args select 2, _args select 3, _args select 4] call f_cam_checkAcreMute) then {
      [] call acre_sys_core_fnc_toggleHeadset;
    };
AACO commented

Closing out, will be resolved in new spectator