diff --git a/addons/common/functions/fnc_addReloadMutex.sqf b/addons/common/functions/fnc_addReloadMutex.sqf index 7ca0fe49c1..4232ac7b2b 100644 --- a/addons/common/functions/fnc_addReloadMutex.sqf +++ b/addons/common/functions/fnc_addReloadMutex.sqf @@ -69,3 +69,5 @@ _unit setVariable [ }, _unit, (_unitMovesInfo select 2) - (_unitMovesInfo select 1)] call CBA_fnc_waitAndExecute; }] ]; + +nil // return diff --git a/addons/common/functions/fnc_removeReloadMutex.sqf b/addons/common/functions/fnc_removeReloadMutex.sqf index 25f397fbae..e920e9d148 100644 --- a/addons/common/functions/fnc_removeReloadMutex.sqf +++ b/addons/common/functions/fnc_removeReloadMutex.sqf @@ -24,11 +24,13 @@ if (_unit isNil QGVAR(reloadMutex_gestureEH)) exitWith { _unit removeEventHandler [ "GestureChanged", _unit getVariable QGVAR(reloadMutex_gestureEH) -] -_unit setVariable [QGVAR(reloadMutex_gestureEH), nil]. +]; +_unit setVariable [QGVAR(reloadMutex_gestureEH), nil]; _unit removeEventHandler [ "AnimChanged", _unit getVariable QGVAR(reloadMutex_animEH) -] -_unit setVariable [QGVAR(reloadMutex_animEH), nil]. +]; +_unit setVariable [QGVAR(reloadMutex_animEH), nil]; + +nil // return