This commit is contained in:
PabstMirror 2016-11-13 10:56:45 -06:00
parent b3e313f52b
commit 6f640ddc45

View File

@ -13,7 +13,7 @@ if (!hasInterface) exitWith {};
// - GVAR updating and initialization ----------------------------------------- // - GVAR updating and initialization -----------------------------------------
["unit", FUNC(handlePlayerChanged), true] call CBA_fnc_addPlayerEventHandler; ["unit", FUNC(handlePlayerChanged), true] call CBA_fnc_addPlayerEventHandler;
private _fnc_showStaminaBar = { private _fnc_showStaminaBar = {
private _staminaBarContainer = uiNamespace getVariable [QGVAR(staminaBarContainer), controlNull]; private _staminaBarContainer = uiNamespace getVariable [QGVAR(staminaBarContainer), controlNull];
_staminaBarContainer ctrlShow ((!visibleMap) && {(vehicle ACE_player) == ACE_player}); _staminaBarContainer ctrlShow ((!visibleMap) && {(vehicle ACE_player) == ACE_player});