mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
make hide stamina setting make bar reappear when changed mid mission
This commit is contained in:
parent
8cd0b496ac
commit
e592717c30
@ -14,11 +14,9 @@
|
||||
LSTRING(DisplayName),
|
||||
true,
|
||||
true, {
|
||||
if (!_this) then {
|
||||
private _staminaBarContainer = uiNamespace getVariable [QGVAR(staminaBarContainer), controlNull];
|
||||
_staminaBarContainer ctrlSetFade 1;
|
||||
_staminaBarContainer ctrlCommit 0;
|
||||
};
|
||||
private _staminaBarContainer = uiNamespace getVariable [QGVAR(staminaBarContainer), controlNull];
|
||||
_staminaBarContainer ctrlSetFade ([1,0] select _this);
|
||||
_staminaBarContainer ctrlCommit 0;
|
||||
}
|
||||
] call CBA_Settings_fnc_init;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user