diff --git a/addons/medical_treatment/functions/fnc_onMedicationUsage.sqf b/addons/medical_treatment/functions/fnc_onMedicationUsage.sqf index 3ce5e2c1236..571af1a7ace 100644 --- a/addons/medical_treatment/functions/fnc_onMedicationUsage.sqf +++ b/addons/medical_treatment/functions/fnc_onMedicationUsage.sqf @@ -43,9 +43,9 @@ if (_maxDose > 0) then { // Check incompatible medication (format [med,limit]) if (typeName _array != "ARRAY" || _incompatibleMedication isEqualTo []) exitWith {}; { - _x params ["_xMed", "_xLimit"]; - private _inSystem = ([_target, _xMed] call EFUNC(medical_status,getMedicationCount)) select 0; - if (_inSystem > _xLimit) then { - [_target, _classname, _inSystem, _xLimit, _xMed] call FUNC(overDose); - }; + _x params ["_xMed", "_xLimit"]; + private _inSystem = ([_target, _xMed] call EFUNC(medical_status,getMedicationCount)) select 0; + if (_inSystem > _xLimit) then { + [_target, _classname, _inSystem, _xLimit, _xMed] call FUNC(overDose); + }; } forEach _incompatibleMedication;