Skip to content

Commit

Permalink
Merge pull request godotengine#51375 from Blackiris/fix-action-get-ev…
Browse files Browse the repository at this point in the history
…ents

Fix action_get_events returning booleans instead of InputKey entries
  • Loading branch information
akien-mga authored Aug 7, 2021
2 parents f860ee3 + daee3c3 commit 49309ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/input/input_map.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}
}

Expand Down

0 comments on commit 49309ac

Please sign in to comment.