mirror of
https://github.com/ppy/osu.git
synced 2024-11-14 15:57:24 +08:00
Update osu.Game/Screens/OnlinePlay/Multiplayer/MultiplayerMatchSubScreen.cs
Co-authored-by: Salman Ahmed <frenzibyte@gmail.com>
This commit is contained in:
parent
ae6aab2555
commit
cecf654a7b
@ -227,7 +227,7 @@ namespace osu.Game.Screens.OnlinePlay.Multiplayer
|
|||||||
if (!this.IsCurrentScreen())
|
if (!this.IsCurrentScreen())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
int id = itemToEdit?.Beatmap.OnlineID ?? Room.Playlist.LastOrDefault()!.Beatmap.OnlineID;
|
int id = itemToEdit?.Beatmap.OnlineID ?? Room.Playlist.Last().Beatmap.OnlineID;
|
||||||
var localBeatmap = beatmapManager.QueryBeatmap(b => b.OnlineID == id);
|
var localBeatmap = beatmapManager.QueryBeatmap(b => b.OnlineID == id);
|
||||||
|
|
||||||
var workingBeatmap = localBeatmap == null ? null : beatmapManager.GetWorkingBeatmap(localBeatmap);
|
var workingBeatmap = localBeatmap == null ? null : beatmapManager.GetWorkingBeatmap(localBeatmap);
|
||||||
|
Loading…
Reference in New Issue
Block a user