You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-16 14:00:40 +00:00
Fix action_get_events returning booleans instead of InputKey entries
This commit is contained in:
@@ -196,7 +196,7 @@ Array InputMap::_action_get_events(const StringName &p_action) {
|
|||||||
const List<Ref<InputEvent>> *al = action_get_events(p_action);
|
const List<Ref<InputEvent>> *al = action_get_events(p_action);
|
||||||
if (al) {
|
if (al) {
|
||||||
for (const List<Ref<InputEvent>>::Element *E = al->front(); E; E = E->next()) {
|
for (const List<Ref<InputEvent>>::Element *E = al->front(); E; E = E->next()) {
|
||||||
ret.push_back(E);
|
ret.push_back(E->get());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user