Fix action_get_events returning booleans instead of InputKey entries

This commit is contained in:
Julien Nguyen 2021-08-07 21:17:55 +02:00
parent 4c2559df1d
commit daee3c316f
1 changed files with 1 additions and 1 deletions

View File

@ -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());
}
}