Skip to content

Commit

Permalink
Fix keyhandler removing when drop (acemod#8443)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dystopian authored and AndreasBrostrom committed Dec 3, 2021
1 parent 5fa1a51 commit 7d269dd
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 7d269dd

Please sign in to comment.