Unregister the quit command before registering it.

This fixes the quit menu not working.
This commit is contained in:
Bill Currie 2012-04-12 15:07:28 +09:00
parent e784754a11
commit ab486dcdf6

View file

@ -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");
}