This commit is contained in:
LinkIsGrim 2024-05-23 17:46:33 -03:00
parent 16e63df107
commit 7bd1c9a86a
2 changed files with 8 additions and 4 deletions

View File

@ -69,3 +69,5 @@ _unit setVariable [
}, _unit, (_unitMovesInfo select 2) - (_unitMovesInfo select 1)] call CBA_fnc_waitAndExecute;
}]
];
nil // return

View File

@ -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