From 1334f2691c7aa992cc9525ee8015e3613af6d204 Mon Sep 17 00:00:00 2001 From: terencehill Date: Thu, 21 Jan 2021 10:27:11 +0100 Subject: [PATCH] Show a confirmation menu when pressing f11 to disconnect from server, it closes #2426 --- binds-xonotic.cfg | 2 +- commands.cfg | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/binds-xonotic.cfg b/binds-xonotic.cfg index 578aecd62..2fa44700c 100644 --- a/binds-xonotic.cfg +++ b/binds-xonotic.cfg @@ -62,7 +62,7 @@ bind i +show_info bind PAUSE pause bind F9 "cl_cmd hud minigame" bind F10 menu_showquitdialog -bind F11 disconnect +bind F11 menu_showdisconnectdialog bind F12 screenshot bind F4 ready diff --git a/commands.cfg b/commands.cfg index 1306f306b..b34c4e29b 100644 --- a/commands.cfg +++ b/commands.cfg @@ -116,6 +116,7 @@ alias menu_showhudexit "menu_cmd directmenu HUDExit" alias menu_showhudoptions "menu_cmd directpanelhudmenu ${* ?}" alias menu_showsandboxtools "menu_cmd directmenu SandboxTools" alias menu_showquitdialog "menu_cmd directmenu Quit" +alias menu_showdisconnectdialog "menu_cmd directmenu Disconnect" alias menu_showmonstertools "menu_cmd directmenu MonsterTools" // command executed before loading a map by the menu -- 2.39.2