ACE3/addons/bft_drawing/functions/fnc_KeyUp.sqf
2016-09-03 09:35:37 +02:00

11 lines
229 B
Plaintext

#include "script_component.hpp"
params ["_ctrl", "_key"];
// --- ToDo: make setting for DIK_CODE
if (_key == DIK_LCONTROL) then {
GVAR(editkeydown) = false;
_ctrl ctrlRemoveEventhandler ["Draw", GVAR(editingDraw)];
};