mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 07:06:35 +09:00
Apply batch fixing of built-in types using var
This commit is contained in:
@ -36,10 +36,10 @@ namespace osu.Game.Tournament.Models
|
||||
{
|
||||
get
|
||||
{
|
||||
var ranks = Players.Select(p => p.Statistics?.GlobalRank)
|
||||
.Where(i => i.HasValue)
|
||||
.Select(i => i.Value)
|
||||
.ToArray();
|
||||
int[] ranks = Players.Select(p => p.Statistics?.GlobalRank)
|
||||
.Where(i => i.HasValue)
|
||||
.Select(i => i.Value)
|
||||
.ToArray();
|
||||
|
||||
if (ranks.Length == 0)
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user