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"
// command executed before loading a map by the menu
// makes sure maxplayers is at least minplayers or bot_number + 1
bind m +hud_panel_radar_maximized
bind i +show_info
bind PAUSE pause
-bind F10 quit
+bind F10 menu_showquitdialog
bind F11 disconnect
bind F12 screenshot
bind F4 ready
ATTRIB(XonoticQuitDialog, intendedWidth, float, 0.5)
ATTRIB(XonoticQuitDialog, rows, float, 3)
ATTRIB(XonoticQuitDialog, columns, float, 2)
+ ATTRIB(XonoticQuitDialog, name, string, "Quit")
ENDCLASS(XonoticQuitDialog)
#endif