Multiply new rating by team size. MIssed that undo!

This commit is contained in:
Jonathan Williams 2016-04-22 02:53:02 -05:00
parent 4577cf0398
commit a31eccc15b

View File

@ -42,7 +42,7 @@ public class EloManager extends MiniDbClientPlugin<EloClientData>
{
EloTeam newTeam = new EloTeam();
int newTotal = _ratingSystem.getNewRating(teamA.TotalElo / teamA.getPlayers().size(), teamB.TotalElo / teamB.getPlayers().size(), result);
int newTotal = _ratingSystem.getNewRating(teamA.TotalElo / teamA.getPlayers().size(), teamB.TotalElo / teamB.getPlayers().size(), result) * teamA.getPlayers().size();
int kTotal = 0;
for (EloPlayer player : teamA.getPlayers())