Hide advFatigue bar on map / spectator

This commit is contained in:
PabstMirror
2016-11-10 17:49:18 -06:00
parent 5bf8b642f7
commit e086a33e4d
2 changed files with 8 additions and 4 deletions

View File

@ -11,6 +11,9 @@
#include "script_component.hpp"
if (!alive ACE_player) exitWith { // Dead people don't breath, Will also handle null (Map intros)
[FUNC(mainLoop), [], 1] call CBA_fnc_waitAndExecute;
private _staminaBarContainer = uiNamespace getVariable [QGVAR(staminaBarContainer), controlNull];
_staminaBarContainer ctrlSetFade 1;
_staminaBarContainer ctrlCommit 1;
};
private _currentWork = REE;