* (bug 3641) Server is left running following a local disconnect
This commit is contained in:
1 parent
a857487f9b
commit
b2207b250f
1 file changed
+1
@@ -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( );
|
||||
|
||||
Reference in new issue
Block a user