Skip to content

Commit

Permalink
update hunger&thirst heal
Browse files Browse the repository at this point in the history
  • Loading branch information
Apricot-ale committed Jun 24, 2024
1 parent b56538c commit 2bc94f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Missionframework/functions/fn_fullHeal.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ if (isClass (configfile >> "CfgPatches" >> "ace_field_ration")) then {_acefr = t
_target setVariable ["lastHealTime", _localtime];
if (KPLIB_ace_med) then {[_caller, _target] call ace_medical_treatment_fnc_fullHeal;} else {_target setDamage 0;};
if (isPlayer _target) then {
if (_acefr) then {_target setVariable ["acex_field_rations_thirst",0]; _target setVariable ["acex_field_rations_hunger",0];};
if (_acefr) then {_target setVariable ["acex_field_rations_thirst",0,true]; _target setVariable ["acex_field_rations_hunger",0,true];};
if (_target isNotEqualTo _caller) then {_healedunits pushBack _target;};
};
} else {
Expand Down

0 comments on commit 2bc94f0

Please sign in to comment.