mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Artillery Tables - Fix artillery UI not showing if no gunner view available (#10218)
This commit is contained in:
parent
043b3907fe
commit
094e235f7a
@ -30,7 +30,10 @@ if (isNull (uiNamespace getVariable [QGVAR(display), displayNull])) then {
|
||||
};
|
||||
|
||||
private _ctrlGroup = (uiNamespace getVariable [QGVAR(display), displayNull]) displayCtrl 1000;
|
||||
if (cameraView != "GUNNER") exitWith { // need to be in gunner mode, so we can check where the optics are aiming at
|
||||
|
||||
// Need to be in gunner mode, so we can check where the optics are aiming at
|
||||
// However, if there are no optics, ignore the above
|
||||
if (!_invalidGunnerMem && {cameraView != "GUNNER"}) exitWith {
|
||||
_ctrlGroup ctrlShow false;
|
||||
};
|
||||
_ctrlGroup ctrlShow true;
|
||||
|
Loading…
Reference in New Issue
Block a user