Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Shared] Add exit command as an alias to quit #1220

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions code/qcommon/common.cpp
Expand Up @@ -1124,6 +1124,7 @@ void Com_Init( char *commandLine ) {
// init commands and vars
//
Cmd_AddCommand ("quit", Com_Quit_f);
Cmd_AddCommand ("exit", Com_Quit_f);
Cmd_AddCommand ("writeconfig", Com_WriteConfig_f );

com_developer = Cvar_Get ("developer", "0", CVAR_TEMP );
Expand Down
1 change: 1 addition & 0 deletions codemp/qcommon/common.cpp
Expand Up @@ -1207,6 +1207,7 @@ void Com_Init( char *commandLine ) {
Cmd_AddCommand ("freeze", Com_Freeze_f);
}
Cmd_AddCommand ("quit", Com_Quit_f, "Quits the game" );
Cmd_AddCommand ("exit", Com_Quit_f, "Quits the game" );
#ifndef FINAL_BUILD
Cmd_AddCommand ("changeVectors", MSG_ReportChangeVectors_f );
#endif
Expand Down