mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 11:20:04 +08:00
Fix weird usage of Cast
This commit is contained in:
parent
404a927caf
commit
c88045dfc7
@ -37,7 +37,7 @@ namespace osu.Game.Tournament.Models
|
||||
{
|
||||
int[] ranks = Players.Select(p => p.Rank)
|
||||
.Where(i => i.HasValue)
|
||||
.Cast<int>()
|
||||
.Select(i => i!.Value)
|
||||
.ToArray();
|
||||
|
||||
if (ranks.Length == 0)
|
||||
|
Loading…
Reference in New Issue
Block a user