1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 17:47:29 +08:00

XMLdoc fixes and a cautionary check.

This commit is contained in:
naoey 2017-09-09 01:04:55 +05:30
parent 0e4973020a
commit 5a3814b02e
No known key found for this signature in database
GPG Key ID: 2CCE71F6713C9069
2 changed files with 3 additions and 3 deletions

View File

@ -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)
{

View File

@ -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;