diff options
author | Andreas Haas <liu.gam3@gmail.com> | 2017-05-25 22:58:37 +0200 |
---|---|---|
committer | Andreas Haas <liu.gam3@gmail.com> | 2017-05-25 23:01:45 +0200 |
commit | dbba433b69985c1629aeb9cbb0ddf85efdada7e0 (patch) | |
tree | a53592783c3af2dcd01a9151fc7cf47a896b5cee /main/input_default.cpp | |
parent | 3744d9fd55006247031658f29a4cef9ef6ba2bcf (diff) |
Fix echo key event handling.
Diffstat (limited to 'main/input_default.cpp')
-rw-r--r-- | main/input_default.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/input_default.cpp b/main/input_default.cpp index 2cce62ab51..9e11a595dc 100644 --- a/main/input_default.cpp +++ b/main/input_default.cpp @@ -302,7 +302,7 @@ void InputDefault::parse_input_event(const Ref<InputEvent> &p_event) { _THREAD_SAFE_METHOD_ Ref<InputEventKey> k = p_event; - if (k.is_valid() && k->is_echo() && k->get_scancode() != 0) { + if (k.is_valid() && !k->is_echo() && k->get_scancode() != 0) { //print_line(p_event); |