From 8af54a2ee2c1bd58bd9ea9d330760f8df41da6af Mon Sep 17 00:00:00 2001 From: Apricot <50947830+Apricot-ale@users.noreply.github.com> Date: Wed, 25 Dec 2024 15:38:22 +0900 Subject: [PATCH] WE HATE TAB --- .../functions/fnc_onMedicationUsage.sqf | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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;