mirror of
https://github.com/ppy/osu
synced 2025-02-13 16:47:38 +00: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;
|
return;
|
||||||
|
|
||||||
beatmapNoDebounce = beatmap;
|
beatmapNoDebounce = beatmap;
|
||||||
|
|
||||||
performUpdateSelected();
|
performUpdateSelected();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void updateSelectedRuleset(RulesetInfo ruleset)
|
private void updateSelectedRuleset(RulesetInfo ruleset)
|
||||||
{
|
{
|
||||||
if (ruleset == null || ruleset.Equals(rulesetNoDebounce))
|
if (ruleset == null && rulesetNoDebounce == null)
|
||||||
|
return;
|
||||||
|
|
||||||
|
if (ruleset?.Equals(rulesetNoDebounce) == true)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
rulesetNoDebounce = ruleset;
|
rulesetNoDebounce = ruleset;
|
||||||
|
Loading…
Reference in New Issue
Block a user