diff options
author | Julien Nguyen <julien.nguyen3@gmail.com> | 2021-08-07 21:17:55 +0200 |
---|---|---|
committer | Julien Nguyen <julien.nguyen3@gmail.com> | 2021-08-07 21:17:55 +0200 |
commit | daee3c316fdbb97dc205c8d3323af38bff5ebae0 (patch) | |
tree | 6ca3a1a220ba89f8cc994fdf623d659d31f743bf /core | |
parent | 4c2559df1d9b68ba406d66d1f82fba54d364c903 (diff) |
Fix action_get_events returning booleans instead of InputKey entries
Diffstat (limited to 'core')
-rw-r--r-- | core/input/input_map.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/input/input_map.cpp b/core/input/input_map.cpp index 6714705bb5..15be0f1e36 100644 --- a/core/input/input_map.cpp +++ b/core/input/input_map.cpp @@ -196,7 +196,7 @@ Array InputMap::_action_get_events(const StringName &p_action) { const List<Ref<InputEvent>> *al = action_get_events(p_action); if (al) { for (const List<Ref<InputEvent>>::Element *E = al->front(); E; E = E->next()) { - ret.push_back(E); + ret.push_back(E->get()); } } |