1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-02 14:10:45 +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
Unverified
parent 53afed19ec
commit 914e5c0f9d
@@ -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);
};