diff --git a/addons/medical_treatment/functions/fnc_treatment.sqf b/addons/medical_treatment/functions/fnc_treatment.sqf index c15de4f70e2..efd19243233 100644 --- a/addons/medical_treatment/functions/fnc_treatment.sqf +++ b/addons/medical_treatment/functions/fnc_treatment.sqf @@ -31,7 +31,7 @@ private _config = configFile >> QGVAR(actions) >> _classname; // Get treatment time from config, exit if treatment time is zero private _medicRequiredLevel = GET_NUMBER_ENTRY(_config >> "medicRequired"); -private _treatmentTimeConfig = ["treatmentTime", "treatmentTimeTrained"] select (([_medic, (_medicRequiredLevel + 1)] call FUNC(isMedic)) && {!isNull (_config >> "treatmentTimeTrained")}); +private _treatmentTimeConfig = ["treatmentTime", "treatmentTimeTrained"] select (([_medic, (_medicRequiredLevel)] call FUNC(isMedic)) && {!isNull (_config >> "treatmentTimeTrained")}); private _treatmentTime = if (isText (_config >> _treatmentTimeConfig)) then { GET_FUNCTION(_treatmentTime,_config >> _treatmentTimeConfig);