Skip to content

Commit

Permalink
Update fnc_treatmentAdvanced_FlushLocal.sqf
Browse files Browse the repository at this point in the history
  • Loading branch information
Cplhardcore committed Nov 30, 2024
1 parent d255205 commit 19e237d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions addons/pharma/functions/fnc_treatmentAdvanced_FlushLocal.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ private _partIndex = ALL_BODY_PARTS find toLower _bodyPart;
private _IVarray = _patient getVariable [QGVAR(IV), [0,0,0,0,0,0]];
private _IVactual = _IVarray select _partIndex;
if ([7,8,9] find _IVactual != -1) then {
_IVarray set [_partIndex, _IVactual + 3]
} else (
_IVarray set [_partIndex, _IVactual + 8]
);
_IVarray set [_partIndex, _IVactual + 3];
} else {
_IVarray set [_partIndex, _IVactual + 8];
};
_patient setVariable [QGVAR(IV), _IVarray, true];

private _occludedMedications = _patient getVariable [QACEGVAR(medical,occludedMedications), []];
Expand Down

0 comments on commit 19e237d

Please sign in to comment.