Change FirstOrDefault back to First

This commit is contained in:
HoLLy
2019-06-19 20:40:30 +02:00
parent 8d62ce8967
commit c1c19243cd

View File

@ -41,7 +41,7 @@ namespace osu.Game.Scoring
if (archive == null) if (archive == null)
return 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 try
{ {