diff options
Diffstat (limited to 'code/qcommon')
-rw-r--r-- | code/qcommon/common.c | 1 |
1 files changed, 1 insertions, 0 deletions
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( ); |