1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-08 04:24:10 +08:00

Fix warnings

This commit is contained in:
Alex Amadori
2017-03-09 21:07:21 +01:00
Unverified
parent f969c3b7b3
commit faecaa297a
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ namespace osu.Game.Beatmaps.IO
catch (InvalidCastException e)
{
Logger.Error(e, "A tricky ArchiveReader instance passed the test to be a BeatmapArhiveReader, but it's really not");
throw e;
throw;
}
}
+1 -1
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();
}