]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Show a confirmation menu when pressing f11 to disconnect from server, it closes ...
authorterencehill <piuntn@gmail.com>
Thu, 21 Jan 2021 09:27:11 +0000 (10:27 +0100)
committerterencehill <piuntn@gmail.com>
Thu, 21 Jan 2021 09:27:11 +0000 (10:27 +0100)
binds-xonotic.cfg
commands.cfg

index 578aecd62c1e484d549c1fdbda4383e3947ba9d9..2fa44700c0ab445368a95fa310abf4bfec5e7819 100644 (file)
@@ -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
 
index 1306f306bb82275d76dba67712f4f25e55e7de40..b34c4e29b7fd3fe9e57af5caa08b8d145cb108a9 100644 (file)
@@ -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