This commit is contained in:
commy2 2018-09-10 19:31:26 +02:00 committed by GitHub
parent b651cc8093
commit 05ad146ba3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,9 +14,11 @@
LSTRING(DisplayName),
true,
true, {
private _staminaBarContainer = uiNamespace getVariable [QGVAR(staminaBarContainer), controlNull];
_staminaBarContainer ctrlSetFade ([1,0] select _this);
_staminaBarContainer ctrlCommit 0;
if (!_this) then {
private _staminaBarContainer = uiNamespace getVariable [QGVAR(staminaBarContainer), controlNull];
_staminaBarContainer ctrlSetFade 1;
_staminaBarContainer ctrlCommit 0;
};
}
] call CBA_Settings_fnc_init;