File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed
Zero-K.info/Views/Ladders Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change 2424 {
2525 @: < / span >< br / >< span style = " font-size: small" >
2626 }
27+ var acc = acct ;
28+ if (rank == GlobalConst .LadderSize && Global .IsAccountAuthorized && Global .Account .GetRating (RatingCategory .MatchMaking )? .Rank > rank )
29+ {
30+ rank = Global .Account .GetRating (RatingCategory .MatchMaking ).Rank ;
31+ acc = Global .Account ;
32+ }
2733 <text >
28- @( rank ) ) @Html.PrintAccount(acct ) - @( Math .Round (acct .GetRating (RatingCategory .MatchMaking ).Elo )) <br />
34+ @( rank ) ) @Html.PrintAccount(acc ) - @( Math .Round (acc .GetRating (RatingCategory .MatchMaking ).Elo )) <br />
2935 </text >
3036 }
3137 }
4147 {
4248 @: < / span >< br / >< span style = " font-size: small" >
4349 }
50+ var acc = acct ;
51+ if (rank == GlobalConst .LadderSize && Global .IsAccountAuthorized && Global .Account .GetRating (RatingCategory .Casual )? .Rank > rank )
52+ {
53+ rank = Global .Account .GetRating (RatingCategory .Casual ).Rank ;
54+ acc = Global .Account ;
55+ }
4456 <text >
45- @( rank ) ) @Html.PrintAccount(acct ) - @( Math .Round (acct .GetRating (RatingCategory .Casual ).Elo )) <br />
57+ @( rank ) ) @Html.PrintAccount(acc ) - @( Math .Round (acc .GetRating (RatingCategory .Casual ).Elo )) <br />
4658 </text >
4759 }
4860 }
You can’t perform that action at this time.
0 commit comments