From daee3c316fdbb97dc205c8d3323af38bff5ebae0 Mon Sep 17 00:00:00 2001 From: Julien Nguyen Date: Sat, 7 Aug 2021 21:17:55 +0200 Subject: Fix action_get_events returning booleans instead of InputKey entries --- core/input/input_map.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core') diff --git a/core/input/input_map.cpp b/core/input/input_map.cpp index 6714705bb5..15be0f1e36 100644 --- a/core/input/input_map.cpp +++ b/core/input/input_map.cpp @@ -196,7 +196,7 @@ Array InputMap::_action_get_events(const StringName &p_action) { const List> *al = action_get_events(p_action); if (al) { for (const List>::Element *E = al->front(); E; E = E->next()) { - ret.push_back(E); + ret.push_back(E->get()); } } -- cgit v1.2.3