diff --git a/app/views/play/ladder/ladder_tab.coffee b/app/views/play/ladder/ladder_tab.coffee index c1213e541..6e12172d3 100644 --- a/app/views/play/ladder/ladder_tab.coffee +++ b/app/views/play/ladder/ladder_tab.coffee @@ -242,7 +242,8 @@ module.exports = class LadderTabView extends CocoView if teamName.toLowerCase() is "humans" then rankClass = "rank-text humans-rank-text" message = "#{histogramData.length} players" - if @leaderboards[teamName].session? then message="##{@leaderboards[teamName].myRank} of #{histogramData.length}" + if @leaderboards[teamName].session? and @leaderboards[teamName].myRank <= histogramData.length + message="##{@leaderboards[teamName].myRank} of #{histogramData.length}" svg.append("g") .append("text") .attr("class",rankClass)