1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 09:02:55 +08:00

Fix beatmap switch doesn't trigger scores update

This commit is contained in:
Andrei Zavatski 2019-11-22 05:08:50 +03:00
parent dee9ffc694
commit da425c93fa

View File

@ -193,7 +193,10 @@ namespace osu.Game.Overlays.BeatmapSet.Scores
var beatmapRuleset = beatmap.NewValue?.Ruleset;
if (ruleset.Value?.Equals(beatmapRuleset) ?? false)
{
modSelector.DeselectAll();
ruleset.TriggerChange();
}
else
ruleset.Value = beatmapRuleset;