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:
@@ -109,14 +109,14 @@ public abstract class RatingManagerDelegate extends GameManagerDelegate
|
|||||||
}
|
}
|
||||||
|
|
||||||
// now build the array we keep around until the end of the game
|
// now build the array we keep around until the end of the game
|
||||||
_ratings = new Rating[allPlayers.length];
|
_tratings = new Rating[allPlayers.length];
|
||||||
for (int ii = 0; ii < _ratings.length; ii ++) {
|
for (int ii = 0; ii < _tratings.length; ii ++) {
|
||||||
if (allPlayers[ii] == 0) {
|
if (allPlayers[ii] == 0) {
|
||||||
continue; // for guests we let the slot remain null
|
continue; // for guests we let the slot remain null
|
||||||
}
|
}
|
||||||
RatingRecord record = map.get(allPlayers[ii]);
|
RatingRecord record = map.get(allPlayers[ii]);
|
||||||
// if the player had no previous record, initiate them at default values
|
// 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);
|
new Rating(allPlayers[ii], record.rating, record.experience);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user