mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
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:
parent
32fc6bb437
commit
69a67ff4e2
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user