From 8549e51a13a4fb674f9d65139c2f433c7def13ca Mon Sep 17 00:00:00 2001 From: tma Date: Mon, 12 May 2008 10:49:02 +0000 Subject: * (bug 3641) Server is left running following a local disconnect git-svn-id: svn://svn.icculus.org/quake3/trunk@1343 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/qcommon/common.c | 1 + 1 file changed, 1 insertion(+) (limited to 'code/qcommon/common.c') diff --git a/code/qcommon/common.c b/code/qcommon/common.c index 7e695db..9dc4b17 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( ); -- cgit v1.2.3