Inline variable

This commit is contained in:
Dean Herbert 2021-02-05 15:33:48 +09:00
parent 4bc324f040
commit d1f9aa52a4

View File

@ -101,9 +101,8 @@ namespace osu.Game.Screens.OnlinePlay.Multiplayer.Participants
case DownloadState.Downloading:
Debug.Assert(availability.DownloadProgress != null);
var progress = availability.DownloadProgress.Value;
progressBar.FadeIn(fade_time);
progressBar.CurrentTime = progress;
progressBar.CurrentTime = availability.DownloadProgress.Value;
text.Text = "downloading map";
icon.Icon = FontAwesome.Solid.ArrowAltCircleDown;