diff options
author | Mikko Tiusanen <ams@daug.net> | 2014-09-10 22:37:59 +0300 |
---|---|---|
committer | Mikko Tiusanen <ams@daug.net> | 2014-09-10 22:37:59 +0300 |
commit | c9ee8af98ce89fe2ffbe4389345a58899f3b3534 (patch) | |
tree | 8b120a592e6fcf07c6b19f79e1142203babb2e14 /src/game/g_active.c | |
parent | d9e16d525aae37568fe0d564ce32bb00b60e5cb5 (diff) |
Added newline at end of inactivity log message.
Diffstat (limited to 'src/game/g_active.c')
-rw-r--r-- | src/game/g_active.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/game/g_active.c b/src/game/g_active.c index af29923..f36ec46 100644 --- a/src/game/g_active.c +++ b/src/game/g_active.c @@ -716,16 +716,16 @@ static qboolean ClientInactivityTimer( gentity_t *ent, qboolean active ) va( "print \"%s^7 moved from %s to spectators due to inactivity\n\"", client->pers.netname, BG_TeamName( client->pers.teamSelection ) ) ); - G_LogPrintf( "Inactivity: %d", client - level.clients ); + G_LogPrintf( "Inactivity: %d\n", client - level.clients ); G_ChangeTeam( ent, TEAM_NONE ); } else { - trap_SendServerCommand( -1, - va( "print \"%s^7 moved from %s to spectators due to inactivity\n\"", - client->pers.netname, - BG_TeamName( client->pers.teamSelection ) ) ); - G_LogPrintf( "Inactivity: %d", client - level.clients ); + trap_SendServerCommand( -1, + va( "print \"%s^7 moved from %s to spectators due to inactivity\n\"", + client->pers.netname, + BG_TeamName( client->pers.teamSelection ) ) ); + G_LogPrintf( "Inactivity: %d\n", client - level.clients ); G_ChangeTeam( ent, TEAM_NONE ); //trap_DropClient( client - level.clients, "Dropped due to inactivity" ); } |