diff --git a/addons/medical/functions/fnc_setMedicRole.sqf b/addons/medical/functions/fnc_setMedicRole.sqf index ee82f516fa..5c8a67539a 100644 --- a/addons/medical/functions/fnc_setMedicRole.sqf +++ b/addons/medical/functions/fnc_setMedicRole.sqf @@ -16,6 +16,8 @@ _value = [_this, 1, false,[false]] call BIS_fnc_param; if (_unit isKindOf "CaManBase") then { if (_value) then { - _unit setvariable [QGVAR(medicClass),1,true]; - }; -}; \ No newline at end of file + _unit setvariable [QGVAR(medicClass), 1, true]; + } else { + _unit setvariable [QGVAR(medicClass), 0, true]; + } +};