Fix keyhandler removing when drop (#8443)

This commit is contained in:
Dystopian 2021-09-18 19:06:01 +03:00 committed by GitHub
parent 58730b82fd
commit 7687429b82
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,7 +20,7 @@ params ["_unit", "_target"];
TRACE_2("params",_unit,_target);
// remove drop action
[QGVAR(releaseActionID), "keydown"] call CBA_fnc_removeKeyHandler;
[GVAR(releaseActionID), "keydown"] call CBA_fnc_removeKeyHandler;
// stop blocking
if !(GVAR(dragAndFire)) then {