1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-18 09:49:53 +08:00

Merge pull request #22516 from mk56-spn/BPM_counter_fix

Fix BPM counter value being affected by non-mod-related playback rate changes
This commit is contained in:
Bartłomiej Dach
2023-02-05 00:50:05 +01:00
committed by GitHub
Unverified
+1 -4
View File
@@ -37,11 +37,8 @@ namespace osu.Game.Screens.Play.HUD
{
base.Update();
//We don't want it going to 0 when we pause. so we block the updates
if (gameplayClock.IsPaused.Value) return;
// We want to check Rate every update to cover windup/down
Current.Value = beatmap.Value.Beatmap.ControlPointInfo.TimingPointAt(gameplayClock.CurrentTime).BPM * gameplayClock.Rate;
Current.Value = beatmap.Value.Beatmap.ControlPointInfo.TimingPointAt(gameplayClock.CurrentTime).BPM * gameplayClock.GetTrueGameplayRate();
}
protected override OsuSpriteText CreateSpriteText()