ACE3/TO_MERGE/ace/arty_mortars/fnc_endShift.sqf

10 lines
261 B
Plaintext

#include "script_component.hpp"
detach player;
player playActionNow "crouch";
player removeAction GVAR(shiftActionId);
GVAR(shiftActionId) = -1;
(findDisplay 46) displayRemoveEventHandler ["KeyDown", GVAR(drag_keyDownId)];
GVAR(stopDragging) = true;