NightVision - Fix border missing while in FFV (#7554)

Fix #6769
This commit is contained in:
PabstMirror 2020-02-24 12:13:24 -06:00 committed by GitHub
parent 92a987059c
commit 60155f2ab8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,6 +34,7 @@ if (alive ACE_player) then {
private _vehConfig = configFile >> "CfgVehicles" >> (typeOf _currentVehicle);
if (cameraView != "GUNNER") exitWith {true}; // asume hmd usage outside of gunner view
if ([ACE_player] call CBA_fnc_canUseWeapon) exitWith {true}; // FFV
if (ACE_player == (driver _currentVehicle)) exitWith {
!("NVG" in getArray (_vehConfig >> "ViewOptics" >> "visionMode"));