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

Use better fallback

Seems better to use the rate from a non-gameplay clock than to arbitrarily apply 1.
This commit is contained in:
Poyo 2023-11-21 15:18:04 -08:00
parent d9cd546377
commit 0cf925dadf

View File

@ -704,7 +704,7 @@ namespace osu.Game.Rulesets.Objects.Drawables
} }
Result.RawTime = Time.Current; Result.RawTime = Time.Current;
Result.GameplayRate = (Clock as IGameplayClock)?.GetTrueGameplayRate() ?? 1.0; Result.GameplayRate = (Clock as IGameplayClock)?.GetTrueGameplayRate() ?? Clock.Rate;
if (Result.HasResult) if (Result.HasResult)
updateState(Result.IsHit ? ArmedState.Hit : ArmedState.Miss); updateState(Result.IsHit ? ArmedState.Hit : ArmedState.Miss);