1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-14 03:15:45 +08:00

Change grammar slightly

This commit is contained in:
Dean Herbert 2018-08-22 16:22:29 +09:00 committed by GitHub
parent bdd618a99d
commit f1c6dfd735
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -351,7 +351,7 @@ namespace osu.Game.Beatmaps
// let's make sure there are actually .osu files to import.
string mapName = reader.Filenames.FirstOrDefault(f => f.EndsWith(".osu"));
if (string.IsNullOrEmpty(mapName))
throw new InvalidOperationException($"No beatmap files found in this beatmap archive. ({reader.Name})");
throw new InvalidOperationException($"No beatmap files found in this beatmap archive ({reader.Name}).");
Beatmap beatmap;
using (var stream = new StreamReader(reader.GetStream(mapName)))