mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 08:55:35 +08:00
Merge branch 'master' into bugfix/4584
This commit is contained in:
commit
0919980cdd
@ -254,6 +254,12 @@ namespace osu.Game
|
||||
if (menuScreen.IsCurrentScreen())
|
||||
menuScreen.LoadToSolo();
|
||||
|
||||
// we might even already be at the song
|
||||
if (Beatmap.Value.BeatmapSetInfo.Hash == databasedSet.Hash)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
// Use first beatmap available for current ruleset, else switch ruleset.
|
||||
var first = databasedSet.Beatmaps.Find(b => b.Ruleset == ruleset.Value) ?? databasedSet.Beatmaps.First();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user