mirror of
https://github.com/osukey/osukey.git
synced 2025-05-19 20:47:24 +09:00
Fix beatmap not having any mods when going into play
This commit is contained in:
parent
e3ad226075
commit
edefdb18f8
@ -142,8 +142,8 @@ namespace osu.Game.Screens.Multi.Match
|
|||||||
|
|
||||||
// Todo: item.Beatmap can be null here...
|
// Todo: item.Beatmap can be null here...
|
||||||
var localBeatmap = beatmapManager.QueryBeatmap(b => b.OnlineBeatmapID == item.BeatmapID) ?? item.Beatmap;
|
var localBeatmap = beatmapManager.QueryBeatmap(b => b.OnlineBeatmapID == item.BeatmapID) ?? item.Beatmap;
|
||||||
|
|
||||||
Beatmap.Value = beatmapManager.GetWorkingBeatmap(localBeatmap);
|
Beatmap.Value = beatmapManager.GetWorkingBeatmap(localBeatmap);
|
||||||
|
Beatmap.Value.Mods.Value = item.RequiredMods.ToArray();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void onStart()
|
private void onStart()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user