summaryrefslogtreecommitdiff
path: root/src/game/g_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/g_main.c')
-rw-r--r--src/game/g_main.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/game/g_main.c b/src/game/g_main.c
index 5b6b025..fb11594 100644
--- a/src/game/g_main.c
+++ b/src/game/g_main.c
@@ -2235,6 +2235,18 @@ void LogExit( const char *string )
}
+ for( i = 0; i < MAX_CLIENTS; i++ )
+ {
+ gentity_t *ent = g_entities + i;
+
+ if( !ent->inuse ||
+ !ent->client ||
+ ent->client->pers.connected == CON_CONNECTING )
+ continue;
+
+ G_LogCombatStats( ent );
+ }
+
for( i = 1, ent = g_entities + i ; i < level.num_entities ; i++, ent++ )
{
if( !ent->inuse )