diff --git a/addons/medical_treatment/functions/fnc_treatment.sqf b/addons/medical_treatment/functions/fnc_treatment.sqf index f4d95ae89e..dfa354dba1 100644 --- a/addons/medical_treatment/functions/fnc_treatment.sqf +++ b/addons/medical_treatment/functions/fnc_treatment.sqf @@ -156,7 +156,7 @@ TRACE_1("",_treatmentTime); // speed up animation depending on treatment time if (!isNil "_animDuration") then { - [QGVAR(setAnimSpeedCoef), [_caller, _animDuration / _treatmentTime]] call CBA_fnc_globalEvent; + [QEGVAR(common,setAnimSpeedCoef), [_caller, _animDuration / _treatmentTime]] call CBA_fnc_globalEvent; TRACE_2("",_animDuration,_treatmentTime); }; diff --git a/addons/medical_treatment/functions/fnc_treatment_failure.sqf b/addons/medical_treatment/functions/fnc_treatment_failure.sqf index b4ee09a9e8..b655ca2cbd 100644 --- a/addons/medical_treatment/functions/fnc_treatment_failure.sqf +++ b/addons/medical_treatment/functions/fnc_treatment_failure.sqf @@ -31,7 +31,7 @@ if (!isNil "_endInAnim") then { }; // reset sped up animations -[QGVAR(setAnimSpeedCoef), [_caller, 1]] call CBA_fnc_globalEvent; +[QEGVAR(common,setAnimSpeedCoef), [_caller, 1]] call CBA_fnc_globalEvent; { _x params ["_unit", "_item"]; diff --git a/addons/medical_treatment/functions/fnc_treatment_success.sqf b/addons/medical_treatment/functions/fnc_treatment_success.sqf index 8bf701b9b8..e69ae9e272 100644 --- a/addons/medical_treatment/functions/fnc_treatment_success.sqf +++ b/addons/medical_treatment/functions/fnc_treatment_success.sqf @@ -31,7 +31,7 @@ if (!isNil "_endInAnim") then { }; // reset sped up animations -[QGVAR(setAnimSpeedCoef), [_caller, 1]] call CBA_fnc_globalEvent; +[QEGVAR(common,setAnimSpeedCoef), [_caller, 1]] call CBA_fnc_globalEvent; // Record specific callback private _config = configFile >> QGVAR(Actions) >> CUR_LEVEL >> _className;