hedgewars/uStats.pas
changeset 13770 3d2a7c563d8e
parent 13766 6fd56a26e8b8
child 13883 0ce8aad17c24
--- a/hedgewars/uStats.pas	Tue Sep 04 22:59:08 2018 +0200
+++ b/hedgewars/uStats.pas	Wed Sep 05 01:53:21 2018 +0200
@@ -417,12 +417,12 @@
                     for t:= 0 to Pred(TeamsCount) do
                         if TeamsArray[t]^.Clan^.ClanIndex = deathEntry^.KilledClans[c]^.ClanIndex then
                             begin
-                            inc(i);
                             SendStat(siTeamRank, IntToStr(currentRank));
                             SendStat(siPlayerKills, IntToStr(deathEntry^.killedClans[c]^.Color) + ' ' +
                                 IntToStr(TeamsArray[t]^.stats.Kills) + ' ' + TeamsArray[t]^.TeamName);
                             end;
                     deathEntry^.KilledClans[c]^.StatsHandled:= true;
+                    inc(i);
                     end;
             if i > 0 then
                 inc(currentRank, i);