Skip to content

Commit

Permalink
Fix keyhandler removing when drop (#8443)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dystopian authored Sep 18, 2021
1 parent 58730b8 commit 7687429
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/dragging/functions/fnc_dropObject.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 7687429

Please sign in to comment.