Fix beatmap not having any mods when going into play

This commit is contained in:
smoogipoo 2018-12-14 16:16:38 +09:00
parent e3ad226075
commit edefdb18f8

View File

@ -142,8 +142,8 @@ namespace osu.Game.Screens.Multi.Match
// Todo: item.Beatmap can be null here...
var localBeatmap = beatmapManager.QueryBeatmap(b => b.OnlineBeatmapID == item.BeatmapID) ?? item.Beatmap;
Beatmap.Value = beatmapManager.GetWorkingBeatmap(localBeatmap);
Beatmap.Value.Mods.Value = item.RequiredMods.ToArray();
}
private void onStart()