diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/os/keyboard.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/os/keyboard.cpp b/core/os/keyboard.cpp index 26b481840a..9710638234 100644 --- a/core/os/keyboard.cpp +++ b/core/os/keyboard.cpp @@ -443,7 +443,7 @@ int keycode_get_count() { } int keycode_get_value_by_index(int p_index) { - _keycodes[p_index].code; + return _keycodes[p_index].code; } const char* keycode_get_name_by_index(int p_index) { |