Skip to content

Commit

Permalink
drop unneeded _dose
Browse files Browse the repository at this point in the history
  • Loading branch information
LinkIsGrim authored Oct 19, 2024
1 parent 522a496 commit a5b6522
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/medical_vitals/functions/fnc_handleUnitVitals.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ private _adjustments = _unit getVariable [VAR_MEDICATIONS,[]];
if (_adjustments isNotEqualTo []) then {
private _deleted = false;
{
_x params ["_medication", "_timeAdded", "_timeTillMaxEffect", "_maxTimeInSystem", "_hrAdjust", "_painAdjust", "_flowAdjust", "_dose"];
_x params ["_medication", "_timeAdded", "_timeTillMaxEffect", "_maxTimeInSystem", "_hrAdjust", "_painAdjust", "_flowAdjust"];
private _timeInSystem = CBA_missionTime - _timeAdded;
if (_timeInSystem >= _maxTimeInSystem) then {
_deleted = true;
Expand Down

0 comments on commit a5b6522

Please sign in to comment.