diff options
Diffstat (limited to 'src/game/g_combat.c')
-rw-r--r-- | src/game/g_combat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/g_combat.c b/src/game/g_combat.c index ad247227..265ee182 100644 --- a/src/game/g_combat.c +++ b/src/game/g_combat.c @@ -224,9 +224,9 @@ void player_die( gentity_t *self, gentity_t *inflictor, gentity_t *attacker, int attacker->client->lastKillTime = level.time; if( attacker->client->ps.stats[ STAT_PTEAM ] == PTE_ALIENS ) - level.alienKills++; + trap_Cvar_Set( "g_alienKills", va( "%d", g_alienKills.integer + 1 ) ); else if( attacker->client->ps.stats[ STAT_PTEAM ] == PTE_HUMANS ) - level.humanKills++; + trap_Cvar_Set( "g_humanKills", va( "%d", g_humanKills.integer + 1 ) ); } } |