]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/menu/xonotic/keybinder.qc
Put GameLogInit() code in there instead of in spawnfunc(worldspawn)
[xonotic/xonotic-data.pk3dir.git] / qcsrc / menu / xonotic / keybinder.qc
index f9b2be71cf770feb9efedcdc0be4de699f3d94aa..c76af8ceed148338342b68afcef70798071d3768 100644 (file)
@@ -106,7 +106,6 @@ void KeyBinds_BuildList()
        KEYBIND_DEF("toggleconsole"                         , _("enter console"));
                string console_shortcut = strcat(translate_key("SHIFT"), "+", translate_key("ESCAPE"));
                KEYBIND_SPECIAL_DEF(console_shortcut, _("enter console"));
-       KEYBIND_DEF("disconnect"                            , _("disconnect"));
        KEYBIND_DEF("menu_showquitdialog"                   , _("quit"));
        KEYBIND_EMPTY_LINE();
 
@@ -391,6 +390,9 @@ float XonoticKeyBinder_keyDown(entity me, int key, bool ascii, float shift)
                case K_BACKSPACE:
                        KeyBinder_Bind_Clear(me, me);
                        break;
+               case K_MOUSE2:
+                       KeyBinder_Bind_Edit(me, me);
+                       break;
                default:
                        r = SUPER(XonoticKeyBinder).keyDown(me, key, ascii, shift);
                        break;