summaryrefslogtreecommitdiff
path: root/src/game/g_combat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/g_combat.c')
-rw-r--r--src/game/g_combat.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game/g_combat.c b/src/game/g_combat.c
index ada2f9c..87a6bd6 100644
--- a/src/game/g_combat.c
+++ b/src/game/g_combat.c
@@ -55,6 +55,9 @@ void AddScore( gentity_t *ent, int score )
score = rint( ((float)score) / 50.0f );
ent->client->ps.persistant[ PERS_SCORE ] += score;
+
+ G_admin_add_score( ent, score );
+
CalculateRanks( );
}