aboutsummaryrefslogtreecommitdiff
path: root/client/gui/overlays
diff options
context:
space:
mode:
Diffstat (limited to 'client/gui/overlays')
-rw-r--r--client/gui/overlays/popup_message/popup_message.gd4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/gui/overlays/popup_message/popup_message.gd b/client/gui/overlays/popup_message/popup_message.gd
index 6a3d8273..74268958 100644
--- a/client/gui/overlays/popup_message/popup_message.gd
+++ b/client/gui/overlays/popup_message/popup_message.gd
@@ -178,8 +178,8 @@ func _on_zoom_timeout():
)]))
func display_keybind(action_name: String) -> String:
- var events := InputManager.get_events(action_name)
-
+ var events = Settings.read("input.%s" % action_name)
+
if events.size() == 0:
# There are no events which match the action
return tr("c.settings.input.unknown_event")