mirror of https://github.com/ppy/osu
Use better fallback
Seems better to use the rate from a non-gameplay clock than to arbitrarily apply 1.
This commit is contained in:
parent
d9cd546377
commit
0cf925dadf
|
@ -704,7 +704,7 @@ protected void ApplyResult(Action<JudgementResult> application)
|
|||
}
|
||||
|
||||
Result.RawTime = Time.Current;
|
||||
Result.GameplayRate = (Clock as IGameplayClock)?.GetTrueGameplayRate() ?? 1.0;
|
||||
Result.GameplayRate = (Clock as IGameplayClock)?.GetTrueGameplayRate() ?? Clock.Rate;
|
||||
|
||||
if (Result.HasResult)
|
||||
updateState(Result.IsHit ? ArmedState.Hit : ArmedState.Miss);
|
||||
|
|
Loading…
Reference in New Issue