From 7bd1c9a86a47b95473478674f514060e55a7e81f Mon Sep 17 00:00:00 2001 From: LinkIsGrim <> Date: Thu, 23 May 2024 17:46:33 -0300 Subject: [PATCH] fix --- addons/common/functions/fnc_addReloadMutex.sqf | 2 ++ addons/common/functions/fnc_removeReloadMutex.sqf | 10 ++++++---- 2 files changed, 8 insertions(+), 4 deletions(-) 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