1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 09:07:25 +08:00

Switch to correct ruleset when changing beatmap

This is only really noticeable when using the MusicController to change tracks while at song select.
This commit is contained in:
Dean Herbert 2017-07-20 19:10:20 +09:00
parent 4f10256182
commit 6e0b7b81f8

View File

@ -243,6 +243,8 @@ namespace osu.Game.Screens.Select
}
else
{
ruleset.Value = beatmap.Ruleset;
if (beatmap.BeatmapSetInfoID == beatmapNoDebounce?.BeatmapSetInfoID)
sampleChangeDifficulty.Play();
else