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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/g_main.c b/src/game/g_main.c
index 6a8c4b11..a9923318 100644
--- a/src/game/g_main.c
+++ b/src/game/g_main.c
@@ -1239,7 +1239,7 @@ void CalculateRanks( void )
{
level.sortedClients[ level.numConnectedClients ] = i;
level.numConnectedClients++;
- P[ i ] = (char)'0' + level.clients[ i ].ps.stats[ STAT_PTEAM ];
+ P[ i ] = (char)'0' + level.clients[ i ].pers.teamSelection;
if( !( level.clients[ i ].ps.pm_flags & PMF_FOLLOW ) )
{