diff --git a/code/qcommon/common.c b/code/qcommon/common.c index 7e695dbf..9dc4b17c 100644 --- a/code/qcommon/common.c +++ b/code/qcommon/common.c @@ -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( );