mirror of
https://github.com/UberGames/ioef.git
synced 2024-11-24 05:01:40 +00:00
* (bug 3641) Server is left running following a local disconnect
This commit is contained in:
parent
a857487f9b
commit
b2207b250f
1 changed files with 1 additions and 0 deletions
|
@ -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( );
|
||||
|
|
Loading…
Reference in a new issue