mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 19:52:55 +08:00
Fix BeatmapLeaderboard
refreshing on unrelated changes to a beatmap
This commit is contained in:
parent
2a55c5e02e
commit
622ec53130
@ -191,6 +191,11 @@ namespace osu.Game.Screens.Select.Leaderboards
|
||||
if (cancellationToken.IsCancellationRequested)
|
||||
return;
|
||||
|
||||
// This subscription may fire from changes to linked beatmaps, which we don't care about.
|
||||
// It's currently not possible for a score to be modified after insertion, so we can safely ignore callbacks with only modifications.
|
||||
if (changes?.HasCollectionChanges() == false)
|
||||
return;
|
||||
|
||||
var scores = sender.AsEnumerable();
|
||||
|
||||
if (filterMods && !mods.Value.Any())
|
||||
|
Loading…
Reference in New Issue
Block a user