From 8de86ee910f107da1106bd4dfc574909ecb35fc8 Mon Sep 17 00:00:00 2001 From: "M. Kristall" Date: Wed, 20 Oct 2010 06:39:32 +0000 Subject: * (bug 4761) Count connecting players as voters --- src/game/g_main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/game/g_main.c b/src/game/g_main.c index bdc948e1..54333acb 100644 --- a/src/game/g_main.c +++ b/src/game/g_main.c @@ -1392,10 +1392,11 @@ void CalculateRanks( void ) level.numConnectedClients++; P[ i ] = (char)'0' + level.clients[ i ].pers.teamSelection; + level.numVotingClients[ TEAM_NONE ]++; + if( level.clients[ i ].pers.connected != CON_CONNECTED ) continue; - level.numVotingClients[ TEAM_NONE ]++; if( level.clients[ i ].pers.teamSelection != TEAM_NONE ) { level.numPlayingClients++; -- cgit