Skip to content

Commit

Permalink
reenable user input on featurecam (acemod#8653)
Browse files Browse the repository at this point in the history
  • Loading branch information
LinkIsGrim authored and AndreasBrostrom committed Dec 3, 2021
1 parent 2ad65ee commit baf3f59
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions addons/medical_feedback/XEH_postInit.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -89,13 +89,12 @@ GVAR(bloodTickCounter) = 0;
if (_newCamera == "") then { // switched back to player view
private _status = IS_UNCONSCIOUS(_unit);
[!_status, _unit] call EFUNC(common,setVolume);

[QUOTE(ADDON), _volume, _status] call EFUNC(common,setHearingCapability);

["unconscious", _status] call EFUNC(common,setDisableUserInputStatus);
} else { // camera view
[true, _unit] call EFUNC(common,setVolume);
[QUOTE(ADDON), 1, false] call EFUNC(common,setHearingCapability);
["unconscious", false] call EFUNC(common,setDisableUserInputStatus);
};
}] call CBA_fnc_addPlayerEventHandler;

Expand Down

0 comments on commit baf3f59

Please sign in to comment.