mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 09:32:55 +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:
commit
9bcc6bf6da
@ -37,11 +37,8 @@ namespace osu.Game.Screens.Play.HUD
|
|||||||
{
|
{
|
||||||
base.Update();
|
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
|
// 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()
|
protected override OsuSpriteText CreateSpriteText()
|
||||||
|
Loading…
Reference in New Issue
Block a user