* Displace the '\n's passed to SV_Shutdown
This commit is contained in:
1 parent
ef4dad1875
commit
4ec0c94828
4 files changed
+7
-7
No files matched your search
@@ -646,7 +646,7 @@ void SV_FinalMessage( char *message ) {
|
||||
if (cl->state >= CS_CONNECTED) {
|
||||
// don't send a disconnect to a local client
|
||||
if ( cl->netchan.remoteAddress.type != NA_LOOPBACK ) {
|
||||
SV_SendServerCommand( cl, "print \"%s\"", message );
|
||||
SV_SendServerCommand( cl, "print \"%s\"\n", message );
|
||||
SV_SendServerCommand( cl, "disconnect" );
|
||||
}
|
||||
// force a snapshot to be sent
|
||||
|
||||
@@ -771,7 +771,7 @@ void SV_Frame( int msec ) {
|
||||
|
||||
// the menu kills the server with this cvar
|
||||
if ( sv_killserver->integer ) {
|
||||
SV_Shutdown ("Server was killed.\n");
|
||||
SV_Shutdown ("Server was killed");
|
||||
Cvar_Set( "sv_killserver", "0" );
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user