1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-14 02:22:56 +08:00

Fix regression causing previews to not play

This commit is contained in:
Dean Herbert 2018-07-13 21:45:49 +09:00
parent 63c40e9051
commit 4f5578245e

View File

@ -315,13 +315,14 @@ namespace osu.Game.Screens.Select
working = beatmaps.GetWorkingBeatmap(beatmap, Beatmap.Value); working = beatmaps.GetWorkingBeatmap(beatmap, Beatmap.Value);
} }
ensurePlayingSelected(preview);
working.Mods.Value = Enumerable.Empty<Mod>(); working.Mods.Value = Enumerable.Empty<Mod>();
Beatmap.Value = working; Beatmap.Value = working;
Ruleset.Value = ruleset; Ruleset.Value = ruleset;
ensurePlayingSelected(preview);
UpdateBeatmap(Beatmap.Value); UpdateBeatmap(Beatmap.Value);
} }