From: terencehill Date: Thu, 21 Jan 2021 09:27:11 +0000 (+0100) Subject: Show a confirmation menu when pressing f11 to disconnect from server, it closes ... X-Git-Tag: xonotic-v0.8.5~596 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=1334f2691c7aa992cc9525ee8015e3613af6d204;p=xonotic%2Fxonotic-data.pk3dir.git Show a confirmation menu when pressing f11 to disconnect from server, it closes #2426 --- 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