Arsenal - Fix NVG overlay appearing in ace arsenal (#6673)

* Fix NVG overlay appearing in ace arsenal

* Change center to ACE_Player in nvg check to avoid edge case
This commit is contained in:
Josuan Albin 2018-11-11 18:22:53 +01:00 committed by PabstMirror
parent 32fc6bb437
commit 69a67ff4e2

View File

@ -296,6 +296,10 @@ if (is3DEN) then {
} else {
GVAR(centerNotPlayer) = (GVAR(center) != player);
if (currentVisionMode ACE_Player == 1) then {
GVAR(center) action ["NVGogglesOff", GVAR(center)];
};
{
private _ctrl = _display displayCtrl _x;
_ctrl ctrlEnable GVAR(enableIdentityTabs);