From bf443a5a7a447b05c2cbed666022ae78d688568c Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Fri, 26 Nov 2021 15:36:16 +0900 Subject: [PATCH] Switch unnecessary `return` to `break` instead --- osu.Game/Beatmaps/Drawables/Cards/Buttons/DownloadButton.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osu.Game/Beatmaps/Drawables/Cards/Buttons/DownloadButton.cs b/osu.Game/Beatmaps/Drawables/Cards/Buttons/DownloadButton.cs index 150a5b1d15..c94e335e8f 100644 --- a/osu.Game/Beatmaps/Drawables/Cards/Buttons/DownloadButton.cs +++ b/osu.Game/Beatmaps/Drawables/Cards/Buttons/DownloadButton.cs @@ -64,7 +64,7 @@ namespace osu.Game.Beatmaps.Drawables.Cards.Buttons TooltipText = string.Empty; spinner.Show(); Icon.Hide(); - return; + break; case DownloadState.LocallyAvailable: Action = null;