mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
Unregister the quit command before registering it.
This fixes the quit menu not working.
This commit is contained in:
parent
e784754a11
commit
ab486dcdf6
1 changed files with 1 additions and 0 deletions
|
@ -504,6 +504,7 @@ Menu_Init (void)
|
|||
|
||||
Cmd_AddCommand ("togglemenu", togglemenu_f,
|
||||
"Toggle the display of the menu");
|
||||
Cmd_RemoveCommand ("quit");
|
||||
Cmd_AddCommand ("quit", quit_f, "Exit the program");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue