mirror of
https://github.com/ppy/osu
synced 2024-12-26 08:53:10 +00: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