From b2207b250f48ca97c19fd0fb58591b356727207b Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Mon, 12 May 2008 10:49:02 +0000 Subject: [PATCH] * (bug 3641) Server is left running following a local disconnect --- code/qcommon/common.c | 1 + 1 file changed, 1 insertion(+) 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( );