Store default ruleset value for ability to revert

This commit is contained in:
Salman Ahmed
2021-08-23 11:09:26 +03:00
parent 1d89d757af
commit cb7c2f713b
3 changed files with 2 additions and 3 deletions

View File

@ -33,7 +33,7 @@ namespace osu.Game.Rulesets
// That can become an issue with overlays that require access to the initial ruleset value
// before the ruleset selectors reached a LoadComplete state.
// (e.g. displaying RankingsOverlay for the first time).
Current.Value = Items.First();
Current.Value = Current.Default = Items.First();
}
}
}