Skip to content

Commit

Permalink
Fix action_get_events returning booleans instead of InputKey entries
Browse files Browse the repository at this point in the history
  • Loading branch information
Blackiris committed Aug 7, 2021
1 parent 4c2559d commit daee3c3
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 daee3c3

Please sign in to comment.