Skip to content

Commit

Permalink
* (bug 3641) Server is left running following a local disconnect
Browse files Browse the repository at this point in the history
  • Loading branch information
timangus committed May 12, 2008
1 parent a857487 commit b2207b2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions code/qcommon/common.c
Expand Up @@ -277,6 +277,7 @@ void QDECL Com_Error( int code, const char *fmt, ... ) {
Cvar_Set("com_errorMessage", com_errorMessage);

if (code == ERR_DISCONNECT || code == ERR_SERVERDISCONNECT) {
SV_Shutdown( "Server disconnected" );
CL_Disconnect( qtrue );
VM_Forced_Unload_Start();
CL_FlushMemory( );
Expand Down

0 comments on commit b2207b2

Please sign in to comment.