1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-26 16:12:54 +08:00

Fix prefixing spaces in BeatmapInfo's ToString when metadata is not populated yet

This commit is contained in:
Dean Herbert 2019-06-10 19:33:23 +09:00
parent 6cda2cdb82
commit 54497fb1e7

View File

@ -119,7 +119,7 @@ namespace osu.Game.Beatmaps
/// </summary>
public List<ScoreInfo> Scores { get; set; }
public override string ToString() => $"{Metadata} [{Version}]";
public override string ToString() => $"{Metadata} [{Version}]".Trim();
public bool Equals(BeatmapInfo other)
{