- Added SV_Shutdown to Linux signal handler to ensure that clients don't hang when server gets killed, as suggested by Tony J. White
- Added newline to final message sent to clients. - Added check for whether client is running at all before CL_Shutdown runs through.
This commit is contained in:
1 parent
2583351211
commit
1847c321f0
3 files changed
+6
-1
No files matched your search
@@ -2564,6 +2564,10 @@ CL_Shutdown
|
||||
void CL_Shutdown( void ) {
|
||||
static qboolean recursive = qfalse;
|
||||
|
||||
// check whether the client is running at all.
|
||||
if(!(com_cl_running && com_cl_running->integer))
|
||||
return;
|
||||
|
||||
Com_Printf( "----- CL_Shutdown -----\n" );
|
||||
|
||||
if ( recursive ) {
|
||||
|
||||
Reference in new issue
Block a user