1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-15 15:05:34 +08:00

adjust naming

This commit is contained in:
Andrei Zavatski 2019-08-08 12:04:44 +03:00
parent 1b559c1585
commit 08a92c38d7

View File

@ -30,12 +30,12 @@ namespace osu.Game.Screens.Multi.Match.Components
{ {
CurrentItem.BindValueChanged(item => CurrentItem.BindValueChanged(item =>
{ {
var id = item.NewValue?.Beatmap.OnlineBeatmapID ?? 0; var onlineId = item.NewValue?.Beatmap.OnlineBeatmapID ?? 0;
if (id != 0) if (onlineId != 0)
{ {
request?.Cancel(); request?.Cancel();
request = new GetBeatmapSetRequest(id, BeatmapSetLookupType.BeatmapId); request = new GetBeatmapSetRequest(onlineId, BeatmapSetLookupType.BeatmapId);
request.Success += beatmap => request.Success += beatmap =>
{ {
ClearInternal(); ClearInternal();