mirror of
https://github.com/ppy/osu.git
synced 2026-06-02 16:20:30 +08:00
Merge pull request #6924 from peppy/fix-lookup-failures
Fix beatmap lookups failing for beatmaps with no local path
This commit is contained in:
@@ -15,6 +15,6 @@ namespace osu.Game.Online.API.Requests
|
||||
this.beatmap = beatmap;
|
||||
}
|
||||
|
||||
protected override string Target => $@"beatmaps/lookup?id={beatmap.OnlineBeatmapID}&checksum={beatmap.MD5Hash}&filename={System.Uri.EscapeUriString(beatmap.Path)}";
|
||||
protected override string Target => $@"beatmaps/lookup?id={beatmap.OnlineBeatmapID}&checksum={beatmap.MD5Hash}&filename={System.Uri.EscapeUriString(beatmap.Path ?? string.Empty)}";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user