mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
conform isnil checking: scopes
This commit is contained in:
parent
6a8c9f0ea8
commit
a24c3d52ad
@ -34,7 +34,7 @@ GVAR(scopeAdjust) = [[[0,0],0,[0,0],0], [[0,0],0,[0,0],0], [[0,0],0,[0,0],0]];
|
|||||||
private _layer = [QGVAR(Zeroing)] call BIS_fnc_rscLayer;
|
private _layer = [QGVAR(Zeroing)] call BIS_fnc_rscLayer;
|
||||||
_layer cutText ["", "PLAIN", 0];
|
_layer cutText ["", "PLAIN", 0];
|
||||||
|
|
||||||
if !(isNil QGVAR(fadePFH)) then {
|
if (!isNil QGVAR(fadePFH)) then {
|
||||||
[GVAR(fadePFH)] call CBA_fnc_removePerFrameHandler;
|
[GVAR(fadePFH)] call CBA_fnc_removePerFrameHandler;
|
||||||
GVAR(fadePFH) = nil;
|
GVAR(fadePFH) = nil;
|
||||||
};
|
};
|
||||||
|
@ -67,7 +67,7 @@ if (GVAR(simplifiedZeroing)) then {
|
|||||||
// Set the time when to hide the knobs
|
// Set the time when to hide the knobs
|
||||||
GVAR(timeToHide) = diag_tickTime + 3.0;
|
GVAR(timeToHide) = diag_tickTime + 3.0;
|
||||||
|
|
||||||
if !(isNil QGVAR(fadePFH)) exitWith {};
|
if (!isNil QGVAR(fadePFH)) exitWith {};
|
||||||
|
|
||||||
// Launch a PFH to wait and fade out the knobs
|
// Launch a PFH to wait and fade out the knobs
|
||||||
GVAR(fadePFH) = [{
|
GVAR(fadePFH) = [{
|
||||||
|
Loading…
Reference in New Issue
Block a user