summaryrefslogtreecommitdiff
path: root/UI/Menu/KeyBindings.gd
diff options
context:
space:
mode:
Diffstat (limited to 'UI/Menu/KeyBindings.gd')
-rw-r--r--UI/Menu/KeyBindings.gd4
1 files changed, 2 insertions, 2 deletions
diff --git a/UI/Menu/KeyBindings.gd b/UI/Menu/KeyBindings.gd
index 4650be9..eca3d22 100644
--- a/UI/Menu/KeyBindings.gd
+++ b/UI/Menu/KeyBindings.gd
@@ -24,8 +24,8 @@ func set_keys():
var input = get_node("Panel/VBoxContainer/" + str(action) + "/Input")
input.set_pressed(false)
- var action_list = InputMap.get_action_list(action)
- if action_list.empty():
+ var action_list = InputMap.action_get_events(action)
+ if action_list.is_empty():
input.set_text("SET BUTTON")
else:
var text = ""