Fix echo key event handling.

This commit is contained in:
Andreas Haas 2017-05-25 22:58:37 +02:00
parent 3744d9fd55
commit dbba433b69
No known key found for this signature in database
GPG key ID: B5FFAE1B65FBD2E1

View file

@ -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);