Merge branch 'master' into terencehill/translated_keys
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / main.qc
index 6cee9dfcbc4112cdea55e728862c72ab8e333741..c22f0d40274e82188c1c3c0451c02d2f3b49dcd2 100644 (file)
@@ -1261,6 +1261,8 @@ string _getcommandkey(string cmd_name, string command, bool forcename)
                                if(!joy_active && substring(key, 0, 3) == "JOY")
                                        continue;
 
+                               key = translate_key(key);
+
                                if (keys == "")
                                        keys = key;
                                else