mirror of https://github.com/ppy/osu
Change FirstOrDefault back to First
This commit is contained in:
parent
8d62ce8967
commit
c1c19243cd
|
@ -41,7 +41,7 @@ protected override ScoreInfo CreateModel(ArchiveReader archive)
|
|||
if (archive == null)
|
||||
return null;
|
||||
|
||||
using (var stream = archive.GetStream(archive.Filenames.FirstOrDefault(f => f.EndsWith(".osr"))))
|
||||
using (var stream = archive.GetStream(archive.Filenames.First(f => f.EndsWith(".osr"))))
|
||||
{
|
||||
try
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue