- 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:
parent
2583351211
commit
1847c321f0
3 changed files with 6 additions and 1 deletions
|
@ -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 ) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue