mirror of
https://github.com/ppy/osu.git
synced 2024-11-06 06:57:39 +08:00
Match code between updateSelectedBeatmap/Ruleset
This commit is contained in:
parent
53e6a349bb
commit
4b539b01c1
@ -435,13 +435,15 @@ namespace osu.Game.Screens.Select
|
||||
return;
|
||||
|
||||
beatmapNoDebounce = beatmap;
|
||||
|
||||
performUpdateSelected();
|
||||
}
|
||||
|
||||
private void updateSelectedRuleset(RulesetInfo ruleset)
|
||||
{
|
||||
if (ruleset == null || ruleset.Equals(rulesetNoDebounce))
|
||||
if (ruleset == null && rulesetNoDebounce == null)
|
||||
return;
|
||||
|
||||
if (ruleset?.Equals(rulesetNoDebounce) == true)
|
||||
return;
|
||||
|
||||
rulesetNoDebounce = ruleset;
|
||||
|
Loading…
Reference in New Issue
Block a user