Skip to content

Commit

Permalink
Update fnc_handleUnitVitals.sqf
Browse files Browse the repository at this point in the history
  • Loading branch information
mazinskihenry authored Oct 15, 2024
1 parent 8d53744 commit fb05492
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/vitals/functions/fnc_handleUnitVitals.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

params ["_unit"];

if (!(isPlayer _unit) && (_unit getVariable [QGVAR(simpleMedical), false])) exitWith { [_unit] call FUNC(handleSimpleVitals) };
if ((!(isPlayer _unit)) && (_unit getVariable [QGVAR(simpleMedical),false])) exitWith { [_unit] call FUNC(handleSimpleVitals); };

private _lastTimeUpdated = _unit getVariable [QACEGVAR(medical_vitals,lastTimeUpdated), 0];
private _deltaT = (CBA_missionTime - _lastTimeUpdated) min 10;
Expand Down

0 comments on commit fb05492

Please sign in to comment.