mirror of
https://github.com/ppy/osu
synced 2024-12-13 10:28:17 +00:00
XMLdoc fixes and a cautionary check.
This commit is contained in:
parent
0e4973020a
commit
5a3814b02e
@ -188,9 +188,9 @@ namespace osu.Game.Beatmaps
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Download a beatmap
|
||||
/// Downloads a beatmap.
|
||||
/// </summary>
|
||||
/// <param name="beatmapSetInfo">The beatmap to be downloaded</param>
|
||||
/// <param name="beatmapSetInfo">The <see cref="BeatmapSetInfo"/> to be downloaded.</param>
|
||||
/// <returns>The new <see cref="DownloadBeatmapSetRequest"/>, or null if a download already exists for the same beatmap.</returns>
|
||||
public DownloadBeatmapSetRequest Download(BeatmapSetInfo beatmapSetInfo)
|
||||
{
|
||||
|
@ -44,7 +44,7 @@ namespace osu.Game.Overlays.Direct
|
||||
get { return downloadRequest; }
|
||||
set
|
||||
{
|
||||
if (value == null) return;
|
||||
if (value == null || downloadRequest == value) return;
|
||||
|
||||
downloadRequest = value;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user