mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 21:07:33 +08:00
Use the local beatmap if existing, fixing player not loading objects
This commit is contained in:
parent
83bf37a302
commit
e3ad226075
@ -141,7 +141,9 @@ namespace osu.Game.Screens.Multi.Match
|
||||
info.Mods.Value = item.RequiredMods;
|
||||
|
||||
// Todo: item.Beatmap can be null here...
|
||||
Beatmap.Value = beatmapManager.GetWorkingBeatmap(item.Beatmap);
|
||||
var localBeatmap = beatmapManager.QueryBeatmap(b => b.OnlineBeatmapID == item.BeatmapID) ?? item.Beatmap;
|
||||
|
||||
Beatmap.Value = beatmapManager.GetWorkingBeatmap(localBeatmap);
|
||||
}
|
||||
|
||||
private void onStart()
|
||||
|
Loading…
Reference in New Issue
Block a user