From 19e237d65e13cc1c90d0a6f1561062eef0e10cdd Mon Sep 17 00:00:00 2001 From: Cplhardcore <135324281+Cplhardcore@users.noreply.github.com> Date: Fri, 29 Nov 2024 23:12:43 -0800 Subject: [PATCH] Update fnc_treatmentAdvanced_FlushLocal.sqf --- .../pharma/functions/fnc_treatmentAdvanced_FlushLocal.sqf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/addons/pharma/functions/fnc_treatmentAdvanced_FlushLocal.sqf b/addons/pharma/functions/fnc_treatmentAdvanced_FlushLocal.sqf index bfafe12ca..0d295cba4 100644 --- a/addons/pharma/functions/fnc_treatmentAdvanced_FlushLocal.sqf +++ b/addons/pharma/functions/fnc_treatmentAdvanced_FlushLocal.sqf @@ -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), []];