Fix action_get_events returning booleans instead of InputKey entries
This commit is contained in:
parent
4c2559df1d
commit
daee3c316f
|
@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue