Skip to content

Commit

Permalink
now it should be fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
NemesisRE committed Aug 22, 2019
1 parent 7713b1d commit 760ac09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/bft/functions/fnc_getUnitLifeState.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ switch (GVAR(medicalSystem)) do {
if ((!isNil {_unit getVariable "tcb_ais_agony"}) && ((_unit getVariable "tcb_ais_agony"))) exitWith {"INCAPACITATED"};
};
case "ACE": {
if ([_unit] call ace_medical_fnc_isInStableCondition) then {_lifestate = "INJURED"};
if !([_unit] call ace_medical_fnc_isInStableCondition) then {_lifestate = "INJURED"};
if ((!isNil {_unit getVariable "ACE_isUnconscious"}) && ((_unit getVariable "ACE_isUnconscious"))) then {_lifestate = "INCAPACITATED"};
// Used with ace medical rewrite
//_unitState = [_unit, ace_medical_STATE_MACHINE] call CBA_statemachine_fnc_getCurrentState;
Expand Down

0 comments on commit 760ac09

Please sign in to comment.