mirror of
https://github.com/ppy/osu
synced 2024-12-14 19:06:07 +00:00
Fix getScores can be fired twice on user change
This commit is contained in:
parent
ced78dc900
commit
29b05e2939
@ -213,9 +213,12 @@ namespace osu.Game.Overlays.BeatmapSet.Scores
|
||||
|
||||
private void onUserChanged(ValueChangedEvent<User> user)
|
||||
{
|
||||
modSelector.DeselectAll();
|
||||
if (modSelector.SelectedMods.Any())
|
||||
modSelector.DeselectAll();
|
||||
else
|
||||
getScores();
|
||||
|
||||
modSelector.FadeTo(userIsSupporter ? 1 : 0);
|
||||
getScores();
|
||||
}
|
||||
|
||||
private void getScores()
|
||||
|
Loading…
Reference in New Issue
Block a user