Oops missed a spot.

git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@409 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
Michael Bayne
2007-08-22 00:10:59 +00:00
parent f6481922f6
commit a6398a2d60
@@ -109,14 +109,14 @@ public abstract class RatingManagerDelegate extends GameManagerDelegate
}
// now build the array we keep around until the end of the game
_ratings = new Rating[allPlayers.length];
for (int ii = 0; ii < _ratings.length; ii ++) {
_tratings = new Rating[allPlayers.length];
for (int ii = 0; ii < _tratings.length; ii ++) {
if (allPlayers[ii] == 0) {
continue; // for guests we let the slot remain null
}
RatingRecord record = map.get(allPlayers[ii]);
// if the player had no previous record, initiate them at default values
_ratings[ii] = (record == null) ? new Rating(allPlayers[ii]) :
_tratings[ii] = (record == null) ? new Rating(allPlayers[ii]) :
new Rating(allPlayers[ii], record.rating, record.experience);
}
}