diff options
| author | Juan Linietsky | 2016-08-07 20:08:15 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2016-08-07 20:08:15 -0300 |
| commit | 0b8f0670c54ea8697806e3560b7dc99b93f923ea (patch) | |
| tree | 2bc54bc19f4b7651de4626fcc734827b38d46df4 /core/os/keyboard.cpp | |
| parent | b77200728e7f2b2dd446a9717c83a20c9aac0ce4 (diff) | |
| download | godot-0b8f0670c54ea8697806e3560b7dc99b93f923ea.tar.gz godot-0b8f0670c54ea8697806e3560b7dc99b93f923ea.tar.zst godot-0b8f0670c54ea8697806e3560b7dc99b93f923ea.zip | |
Diffstat (limited to 'core/os/keyboard.cpp')
| -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 26b481840..971063823 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) { |
