From e99d5c86cc4eff606dfa3b11ff610dcddddfcc4b Mon Sep 17 00:00:00 2001 From: Cplhardcore <135324281+Cplhardcore@users.noreply.github.com> Date: Thu, 28 Nov 2024 15:28:57 -0800 Subject: [PATCH] Update fnc_medicationLocal.sqf --- addons/pharma/functions/fnc_medicationLocal.sqf | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/addons/pharma/functions/fnc_medicationLocal.sqf b/addons/pharma/functions/fnc_medicationLocal.sqf index 34f2fbd9a..671c94bac 100644 --- a/addons/pharma/functions/fnc_medicationLocal.sqf +++ b/addons/pharma/functions/fnc_medicationLocal.sqf @@ -126,18 +126,14 @@ if (GVAR(AMS_Enabled)) then { if (count _medicationParts > 3) then { _medicationName = (_medicationParts select 0) + "_" + (_medicationParts select 1); }; - // Adjust the medication effects and add the medication to the list TRACE_3("adjustments",_heartRateChange,_painReduce,_viscosityChange); [_patient, _medicationName, _timeTillMaxEffect, _timeInSystem, _heartRateChange, _painReduce, _viscosityChange, _dose, _alphaFactor, _opioidRelief, _opioidEffect, _opioidDepression, _respiratoryRate] call EFUNC(vitals,addMedicationAdjustment); - // Check for medication compatiblity [_patient, _medicationName, _incompatibleMedication] call ACEFUNC(medical_treatment,onMedicationUsage); } else { - // Adjust the medication effects and add the medication to the list TRACE_3("adjustments",_heartRateChange,_painReduce,_viscosityChange); [_patient, _className, _timeTillMaxEffect, _timeInSystem, _heartRateChange, _painReduce, _viscosityChange, _dose, _alphaFactor, _opioidRelief, _opioidEffect, _opioidDepression, _respiratoryRate] call EFUNC(vitals,addMedicationAdjustment); - - // Check for medication compatiblity + [_patient, _className, _incompatibleMedication] call ACEFUNC(medical_treatment,onMedicationUsage); };