1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-28 21:13:01 +08:00

Fix star rating not updating for some mods on details tab in song select

`AdvancedStats` was locally assuming that the only changes in mods that
are relevant to it are if the mods are `IApplicableToDifficulty`. This
is not true, as other mods (such as `IApplicableToRate` mods, or more
recently, Flashlight) can also affect star difficulty, which is shown on
one of the bars in `AdvancedStats`.
This commit is contained in:
Bartłomiej Dach 2021-10-31 18:58:17 +01:00
parent 53afed19ec
commit 914e5c0f9d
No known key found for this signature in database
GPG Key ID: BCECCD4FA41F6497

View File

@ -94,9 +94,6 @@ namespace osu.Game.Screens.Select.Details
modSettingChangeTracker = new ModSettingChangeTracker(mods.NewValue);
modSettingChangeTracker.SettingChanged += m =>
{
if (!(m is IApplicableToDifficulty))
return;
debouncedStatisticsUpdate?.Cancel();
debouncedStatisticsUpdate = Scheduler.AddDelayed(updateStatistics, 100);
};