mirror of
https://github.com/UberGames/ioef.git
synced 2025-02-17 17:31:08 +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);
|
Cvar_Set("com_errorMessage", com_errorMessage);
|
||||||
|
|
||||||
if (code == ERR_DISCONNECT || code == ERR_SERVERDISCONNECT) {
|
if (code == ERR_DISCONNECT || code == ERR_SERVERDISCONNECT) {
|
||||||
|
SV_Shutdown( "Server disconnected" );
|
||||||
CL_Disconnect( qtrue );
|
CL_Disconnect( qtrue );
|
||||||
VM_Forced_Unload_Start();
|
VM_Forced_Unload_Start();
|
||||||
CL_FlushMemory( );
|
CL_FlushMemory( );
|
||||||
|
|
Loading…
Reference in a new issue