Fix warnings

This commit is contained in:
Alex Amadori
2017-03-09 21:07:21 +01:00
parent f969c3b7b3
commit faecaa297a
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ namespace osu.Game.Beatmaps.IO
AddReader<OszArchiveReader>((storage, path) =>
{
using (var stream = storage.GetStream(path))
return (Path.GetExtension(path) == ".osz") && ZipFile.IsZipFile(stream, false);
return Path.GetExtension(path) == ".osz" && ZipFile.IsZipFile(stream, false);
});
OsuLegacyDecoder.Register();
}