1
0
mirror of https://github.com/acemod/ACE3.git synced 2024-08-30 18:23:18 +00:00

Merge pull request from Whigital/kestrel_layer_fix

[kestrel_4500] Update hardcoded layer id
This commit is contained in:
commy2 2019-11-24 00:40:05 +01:00 committed by GitHub
commit 829240a93a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

@ -20,7 +20,7 @@ if (underwater ACE_player) exitWith { false };
if (!("ACE_Kestrel4500" in (uniformItems ACE_player)) && !("ACE_Kestrel4500" in (vestItems ACE_player))) exitWith { false };
GVAR(Overlay) = false;
3 cutText ["", "PLAIN"];
QGVAR(Layer) cutText ["", "PLAIN"];
GVAR(Kestrel4500) = true;
createDialog 'Kestrel4500_Display';

@ -38,7 +38,7 @@
if (GVAR(Overlay)) exitWith {
GVAR(Overlay) = false;
3 cutText ["", "PLAIN"];
QGVAR(Layer) cutText ["", "PLAIN"];
true
};
if (underwater ACE_player) exitWith { true };
@ -55,7 +55,7 @@ GVAR(Overlay) = true;
// abort condition
if (!GVAR(Overlay) || {!(("ACE_Kestrel4500" in (uniformItems ACE_player)) || ("ACE_Kestrel4500" in (vestItems ACE_player)))}) exitWith {
GVAR(Overlay) = false;
3 cutText ["", "PLAIN"];
QGVAR(Layer) cutText ["", "PLAIN"];
[_this select 1] call CBA_fnc_removePerFrameHandler;
};
@ -64,7 +64,7 @@ GVAR(Overlay) = true;
private _outputData = [] call FUNC(generateOutputData);
3 cutRsc ["RscKestrel4500", "PLAIN", 1, false];
QGVAR(Layer) cutRsc ["RscKestrel4500", "PLAIN", 1, false];
_outputData params [
"_ctrlTop",
"_ctrlCenterBig",